Skip to content

Convert a function that returns an iterator to a generator function.

Notifications You must be signed in to change notification settings

micro-js/to-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

to-generator

Build status Git tag NPM version Code style

Make a function behave and look like a generator function.

Installation

$ npm install @f/to-generator

Usage

var toGenerator = require('@f/to-generator')

API

toGenerator(arg)

  • arg -

Returns:

License

MIT

About

Convert a function that returns an iterator to a generator function.

Resources

Stars

Watchers

Forks

Packages

No packages published