scroll-behavior : Pluggable browser scroll management. You can installing scroll-behavior 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 scroll-behavior $ sudo npm install -g scroll-behavior
If want to update the scroll-behavior package execute the command as below,
$ sudo npm update scroll-behavior
Update package globally,
$ npm install -g scroll-behavior
$ sudo git clone https://github.com/rektide/scroll-behavior.git
$ sudo npm install -g ./scroll-behavior
scroll-behavior@0.9.5 /usr/lib/node_modules/scroll-behavior
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall scroll-behavior
| Package Name | scroll-behavior |
| Version | 0.9.5 |
| Description | Pluggable browser scroll management |
| Released Date | 2017-11-08T07:19:40.266Z |
| Published by | taion |
| How to Learn | https://www.npmjs.com/package/scroll-behavior/tutorial |