npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "generatorfunction" 的结果(共 3 个)
is-callable

Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.

MIT
generator-function

A function that returns the normally hidden `GeneratorFunction` constructor

MIT
is-es6-generators

Check whether a value is a `Generator` or `GeneratorFunction`. The `co` way, more strict checking. Always return boolean true or false, never null or undefined.

MIT