mousetrap : Simple library for handling keyboard shortcuts. You can installing mousetrap 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 mousetrap $ sudo npm install -g mousetrap
If want to update the mousetrap package execute the command as below,
$ sudo npm update mousetrap
Update package globally,
$ npm install -g mousetrap
$ sudo git clone https://github.com/rektide/mousetrap.git
$ sudo npm install -g ./mousetrap
mousetrap@1.6.1 /usr/lib/node_modules/mousetrap
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mousetrap
Package Name | mousetrap |
Version | 1.6.1 |
Description | Simple library for handling keyboard shortcuts |
Released Date | 2017-04-02T19:46:10.953Z |
Published by | ccampbell |
How to Learn | https://www.npmjs.com/package/mousetrap/tutorial |