is-mobile-device
v1.0.0
Published
Returns whether the device is mobile (is-android or is-ios)
Downloads
385
Maintainers
Readme
is-mobile-device
Returns whether the device is mobile (is-android or is-ios)
Install
$ npm install --save is-mobile-device
Usage
var isMobileDevice = require('is-mobile-device')
isMobileDevice('input')
//=> output
API
isMobileDevice(input, [options])
-> output
input
Required
Type: string
Lorem ipsum.
options
foo
Type: boolean
Default: false
Lorem ipsum.
License
MIT © Andrew Joslin