npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

make-async-generator-function

1.0.0

@ljharb

npmHomeRepoSnykSocket
Downloads:9722
$ npm install make-async-generator-function
DailyWeeklyMonthlyYearly

#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