devicedetection
v1.0.0
Published
A plugin that detects if where it's being called from is a mobile device or not.
Downloads
3
Readme
Device Detection
A simple script that returns true if where it's run from is a mobile device, otherwise it returns false.
How to use
var deviceDetection = require('devicedetection');
var isMobile = deviceDetection.isMobileDevice();
console.log(isMobile); // outputs true