Dependecy-free!! ECMAScript 2015+ & TypeScript frendly Use requestAnimationFrame API Supports vertical and horizontal scroll Supports dynamic trigger (event delegation) Works in IE10+, and all modern browsers. 1. Install from npm. $ npm install sweet-scroll 2. Import the package, create an instance. import SweetScroll from 'sweet-scroll'; document.addEventListener('DOMContentLoaded', () => { const