How to Install object.defaults NPM Packages on Ubuntu / Debian

How to Install object.defaults software package in NPM Packages

object.defaults : Like `extend` but only copies missing properties/values to the target object.. You can installing object.defaults 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 object.defaults
$ sudo npm install -g object.defaults

If want to update the object.defaults package execute the command as below,

$ sudo npm update object.defaults

Update package globally,

$ npm install -g object.defaults

Git clone:

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

object.defaults@1.1.0 /usr/lib/node_modules/object.defaults

How to remove object.defaults package :

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

$ sudo npm uninstall object.defaults

Basic Information of object.defaults NPM Package:

Package Name object.defaults
Version 1.1.0
Description Like `extend` but only copies missing properties/values to the target object.
Released Date 2017-04-26T18:26:00.510Z
Published by phated
How to Learn https://www.npmjs.com/package/object.defaults/tutorial