array-includes : An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.. You can installing array-includes 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-includes $ sudo npm install -g array-includes
If want to update the array-includes package execute the command as below,
$ sudo npm update array-includes
Update package globally,
$ npm install -g array-includes
$ sudo git clone https://github.com/rektide/array-includes.git
$ sudo npm install -g ./array-includes
array-includes@3.0.3 /usr/lib/node_modules/array-includes
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall array-includes
Package Name | array-includes |
Version | 3.0.3 |
Description | An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3. |
Released Date | 2017-04-19T06:45:34.094Z |
Published by | ljharb |
How to Learn | https://www.npmjs.com/package/array-includes/tutorial |