is-generator-function : Determine if a function is a native generator function.. You can installing is-generator-function npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install is-generator-function $ sudo npm install -g is-generator-function
If want to update the is-generator-function package execute the command as below,
$ sudo npm update is-generator-function
Update package globally,
$ npm install -g is-generator-function
$ sudo git clone https://github.com/rektide/is-generator-function.git
$ sudo npm install -g ./is-generator-function
is-generator-function@1.0.6 /usr/lib/node_modules/is-generator-function
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-generator-function
| Package Name | is-generator-function |
| Version | 1.0.6 |
| Description | Determine if a function is a native generator function. |
| Released Date | 2016-12-20T18:36:07.977Z |
| Published by | ljharb |
| How to Learn | https://www.npmjs.com/package/is-generator-function/tutorial |