array-flatten : Flatten nested arrays. You can installing array-flatten 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 array-flatten $ sudo npm install -g array-flatten
If want to update the array-flatten package execute the command as below,
$ sudo npm update array-flatten
Update package globally,
$ npm install -g array-flatten
$ sudo git clone https://github.com/rektide/array-flatten.git
$ sudo npm install -g ./array-flatten
array-flatten@2.1.1 /usr/lib/node_modules/array-flatten
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall array-flatten
Package Name | array-flatten |
Version | 2.1.1 |
Description | Flatten nested arrays |
Released Date | 2017-01-14T01:09:38.922Z |
Published by | blakeembrey |
How to Learn | https://www.npmjs.com/package/array-flatten/tutorial |