Have ideas to improve npm?Join in the discussion! »

make-async-generator-function

1.0.0 • Public • Published

make-async-generator-function Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.

Example

var asyncGeneratorFunctions = require('make-async-generator-function');
assert(typeof asyncGeneratorFunctions === 'function');
 
var funcs = asyncGeneratorFunctions();
assert(Array.isArray(funcs), true);

Tests

Simply clone the repo, npm install, and run npm test

Install

npm i make-async-generator-function

DownloadsWeekly Downloads

5,503

Version

1.0.0

License

MIT

Unpacked Size

9.23 kB

Total Files

10

Last publish

Collaborators

  • avatar