README
Easy detect device script
With this NPM package you can easily see which device the visitor is using. Use the class DetectDevice with the function.
Example:
const DetectDevice = require('easy-detect-device-script.js');
if (DetectDevice.isMobileDevice()) { // Do mbl stuff < } else if (DetectDevice.isTabletDevice()) { // Do tablet stuff } else if (DetectDevice.isDesktopDevice()) { // Do desktop stuff }