1.0.1 • Published 2 years ago

user-device v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

detect-userDevice

Easy method for fix crossbrowser bugs Plugin add classes for html tag about user device

  • Browser Name
  • Platform Name
  • Availability of retina
  • Availability of touch

#How to use

Clone this repo and then in command line type:

  • npm install or yarn - install all dependencies
  • npm run build - build minify file to dist folder

In the global environment an object userDevice is available from which you can retrieve data about the device