cast-array : Ensure a value is an array and wrap it if it is not an array. You can installing cast-array 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 cast-array $ sudo npm install -g cast-array
If want to update the cast-array package execute the command as below,
$ sudo npm update cast-array
Update package globally,
$ npm install -g cast-array
$ sudo git clone https://github.com/rektide/cast-array.git
$ sudo npm install -g ./cast-array
cast-array@1.0.1 /usr/lib/node_modules/cast-array
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall cast-array
Package Name | cast-array |
Version | 1.0.1 |
Description | Ensure a value is an array and wrap it if it is not an array |
Released Date | 2015-11-13T14:21:46.160Z |
Published by | bendrucker |
How to Learn | https://www.npmjs.com/package/cast-array/tutorial |