one-time : Run the supplied function exactly one time (once). You can installing one-time 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 one-time $ sudo npm install -g one-time
If want to update the one-time package execute the command as below,
$ sudo npm update one-time
Update package globally,
$ npm install -g one-time
$ sudo git clone https://github.com/rektide/one-time.git
$ sudo npm install -g ./one-time
one-time@0.0.4 /usr/lib/node_modules/one-time
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall one-time
Package Name | one-time |
Version | 0.0.4 |
Description | Run the supplied function exactly one time (once) |
Released Date | 2015-03-25T13:09:48.793Z |
Published by | 3rdeden |
How to Learn | https://www.npmjs.com/package/one-time/tutorial |