shallow-copy : make a shallow copy of an object or array. You can installing shallow-copy 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 shallow-copy $ sudo npm install -g shallow-copy
If want to update the shallow-copy package execute the command as below,
$ sudo npm update shallow-copy
Update package globally,
$ npm install -g shallow-copy
$ sudo git clone https://github.com/rektide/shallow-copy.git
$ sudo npm install -g ./shallow-copy
shallow-copy@0.0.1 /usr/lib/node_modules/shallow-copy
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall shallow-copy
| Package Name | shallow-copy |
| Version | 0.0.1 |
| Description | make a shallow copy of an object or array |
| Released Date | 2013-07-25T06:24:34.297Z |
| Published by | substack |
| How to Learn | https://www.npmjs.com/package/shallow-copy/tutorial |