Skip to content

A library which reveals the pixel density of the client screen in your browser

License

Notifications You must be signed in to change notification settings

visiongeist/dpi.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

dpi.js

A library which reveals the pixel density of the client screen in your browser.

It will attach them to the global window object which you can access.

console.log(window.dpi);

and for the metric system

console.log(window.dpcm);

About

A library which reveals the pixel density of the client screen in your browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published