How to Install only NPM Packages on Ubuntu / Debian

How to Install only software package in NPM Packages

only : return whitelisted properties of an object. You can installing only 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 only
$ sudo npm install -g only

If want to update the only package execute the command as below,

$ sudo npm update only

Update package globally,

$ npm install -g only

Git clone:

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

only@0.0.2 /usr/lib/node_modules/only

How to remove only package :

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

$ sudo npm uninstall only

Basic Information of only NPM Package:

Package Name only
Version 0.0.2
Description return whitelisted properties of an object
Released Date 2013-03-12T19:46:54.755Z
Published by tjholowaychuk
How to Learn https://www.npmjs.com/package/only/tutorial