device-manager

1.1.1 • Public • Published

Build Status

Device Manager

Usage

A library that detects information about a current user's device in browsers.

Check user's current browser

DeviceManager.isBrowser('chrome');
 

Find out if user is on a certain operating system

DeviceManager.isOS('android');
 

Device checking

// when user is on a mobile device
DeviceManager.isMobile();
=> true
 

Package Sidebar

Install

npm i device-manager

Weekly Downloads

28

Version

1.1.1

License

MIT

Last publish

Collaborators

  • npm