dom-classlist : Cross-browser element (including SVG) class list manipulation. You can installing dom-classlist 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 dom-classlist $ sudo npm install -g dom-classlist
If want to update the dom-classlist package execute the command as below,
$ sudo npm update dom-classlist
Update package globally,
$ npm install -g dom-classlist
$ sudo git clone https://github.com/rektide/dom-classlist.git
$ sudo npm install -g ./dom-classlist
dom-classlist@1.0.1 /usr/lib/node_modules/dom-classlist
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall dom-classlist
Package Name | dom-classlist |
Version | 1.0.1 |
Description | Cross-browser element (including SVG) class list manipulation |
Released Date | 2014-08-24T19:33:02.606Z |
Published by | necolas |
How to Learn | https://www.npmjs.com/package/dom-classlist/tutorial |