ios-detector
A module that adds a CSS class when it detects the browser is on Apple iOS.
Examples
Adding a 'ios-device'
class to the <html>
element, if the browser is running on Apple iOS.
; ;
Detecting whether the browser is running on Apple iOS.
; if console;
Installation
Node.js via npm
$ npm install ios-detector
SystemJS via jspm
$ jspm install npm:ios-detector
Scripts
Install Dependencies
$ npm install
Run Test Suite:
$ npm test
Run Linter
$ ./node_modules/.bin/jshint .
License
Copyright © 2016 Yola.
Released under the MIT License.