scroll-to-element : Smooth scrolling to an element via selector or node reference. You can installing scroll-to-element 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-element $ sudo npm install -g scroll-to-element
If want to update the scroll-to-element package execute the command as below,
$ sudo npm update scroll-to-element
Update package globally,
$ npm install -g scroll-to-element
$ sudo git clone https://github.com/rektide/scroll-to-element.git
$ sudo npm install -g ./scroll-to-element
scroll-to-element@2.0.0 /usr/lib/node_modules/scroll-to-element
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall scroll-to-element
| Package Name | scroll-to-element |
| Version | 2.0.0 |
| Description | Smooth scrolling to an element via selector or node reference |
| Released Date | 2016-02-04T03:43:11.496Z |
| Published by | willhoag |
| How to Learn | https://www.npmjs.com/package/scroll-to-element/tutorial |