How to Install once NPM Packages on Ubuntu / Debian

How to Install once software package in NPM Packages

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

Git clone:

$ sudo  git clone https://github.com/rektide/once.git
$ sudo  npm install -g ./once

once@1.4.0 /usr/lib/node_modules/once

How to remove once package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall once

Basic Information of once NPM Package:

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