once : Run a function exactly one time. You can installing once 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 once $ sudo npm install -g once
If want to update the once package execute the command as below,
$ sudo npm update once
Update package globally,
$ npm install -g once
$ sudo git clone https://github.com/rektide/once.git
$ sudo npm install -g ./once
once@1.4.0 /usr/lib/node_modules/once
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall once
Package Name | once |
Version | 1.4.0 |
Description | Run a function exactly one time |
Released Date | 2016-09-06T21:11:09.367Z |
Published by | isaacs |
How to Learn | https://www.npmjs.com/package/once/tutorial |