scroll-to : Smooth window scroll to position with requestAnimationFrame. You can installing scroll-to 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-to $ sudo npm install -g scroll-to
If want to update the scroll-to package execute the command as below,
$ sudo npm update scroll-to
Update package globally,
$ npm install -g scroll-to
$ sudo git clone https://github.com/rektide/scroll-to.git
$ sudo npm install -g ./scroll-to
scroll-to@0.0.2 /usr/lib/node_modules/scroll-to
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall scroll-to
| Package Name | scroll-to |
| Version | 0.0.2 |
| Description | Smooth window scroll to position with requestAnimationFrame |
| Released Date | 2015-03-20T04:36:28.428Z |
| Published by | tootallnate |
| How to Learn | https://www.npmjs.com/package/scroll-to/tutorial |