device-manager
v1.1.1
Published
Detect information about a user's current device
Downloads
71
Readme
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