get-browser-center
v1.0.0
Published
get the x,y coordinates of the browser window's center.
Downloads
1
Maintainers
Readme
get-browser-center
get the x,y coordinates of the browser window's center.
Installation
$ npm install get-browser-center
Usage
var getBrowserCenter = require('get-browser-center');
getBrowserCenter() // {x: 500, y: 500}
License
MIT