get-document-size

1.0.0 • Public • Published

get-document-size

NPM version License

Get the height and width of the (browser) document.

Installation

npm install get-document-size

Usage

var documentSize = require('get-document-size')
 
console.log(documentSize) // => { height: 989, width: 1024 }

Package Sidebar

Install

npm i get-document-size

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • gummesson