0.0.1 • Published 8 years ago

generatorfunction v0.0.1

Weekly downloads
14
License
-
Repository
github
Last release
8 years ago

generatorfunction

In the same way that you'd do:

var f = new Function ([arg1[, arg2[, ...argN]],] functionBody)

You can do that with Generator Functions:

var GeneratorFunction = require('generatorfunction')
var g = new GeneratorFunction ([arg1[, arg2[, ...argN]],] functionBody)

Installation

npm install generatorfunction

License

MIT

0.0.1

8 years ago