get-script
v0.1.2
Published
Load a script via a script tag appeneded to the head, optinally fire a callback function once loaded
Downloads
2
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