Get the current scroll position of target window
Install
npm install window-scroll-position
Usage
var windowScrollPosition = require('window-scroll-position')
windowScrollPosition(/* (optional) target window object */)
// => { top, left, width, height }
License
MIT