1.1.1 • Published 9 years ago
device-manager v1.1.1
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