debounce : Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked. You can installing debounce 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 debounce $ sudo npm install -g debounce
If want to update the debounce package execute the command as below,
$ sudo npm update debounce
Update package globally,
$ npm install -g debounce
$ sudo git clone https://github.com/rektide/debounce.git
$ sudo npm install -g ./debounce
debounce@1.1.0 /usr/lib/node_modules/debounce
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall debounce
Package Name | debounce |
Version | 1.1.0 |
Description | Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked |
Released Date | 2017-10-30T15:30:34.054Z |
Published by | stephenmathieson |
How to Learn | https://www.npmjs.com/package/debounce/tutorial |