0.1.1 • Published 8 years ago

mobile-browser-os v0.1.1

Weekly downloads
102
License
ISC
Repository
github
Last release
8 years ago

mobile-browser-os

Detect the os of the mobile device on the browser based on its navigator.userAgent.

Installation

Using npm:

$ npm i --save mobile-browser-os

In Node.js:

import os from 'mobile-browser-os'

Usage example:

const info = os.detect()

info.name     //'android' or 'ios'
info.version    //'x.x' or 'x.x.x'
0.1.1

8 years ago

0.1.0

8 years ago