matches-selector : Check if a DOM element matches a given selector, with decent browser support and unit tests.. You can installing matches-selector 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 matches-selector $ sudo npm install -g matches-selector
If want to update the matches-selector package execute the command as below,
$ sudo npm update matches-selector
Update package globally,
$ npm install -g matches-selector
$ sudo git clone https://github.com/rektide/matches-selector.git
$ sudo npm install -g ./matches-selector
matches-selector@1.2.0 /usr/lib/node_modules/matches-selector
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall matches-selector
Package Name | matches-selector |
Version | 1.2.0 |
Description | Check if a DOM element matches a given selector, with decent browser support and unit tests. |
Released Date | 2017-06-23T12:23:53.059Z |
Published by | forbeslindesay |
How to Learn | https://www.npmjs.com/package/matches-selector/tutorial |