node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

scroll-position

scroll-position

get the current scrolling position of the browser window

Installation

$ component install nathan7/scroll-position

or

$ npm install scroll-position

API

scrollPosition() -> { x, y }

License

MIT