3.0.2 • Published 4 years ago

@docomodigital/js-platform v3.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

js-platform

npm version

Allow to get the current user agent on your device.

Usage

import { JsPlatform } from 'js-platform';

// create a JsPlatform new instance
const Platform = new JsPlatform();

// Get the current user agent

// Print: "Hello, I'm a ios/android/desktop device!"
console.log("Hello, I'm a " + Platform.OS + " device!");  

Installation

NPM

npm install --save @docomodigital/js-platform

Documentation

To read documentation, go to:

http://docomodigital.github.io/js-utils/js-platform/latest

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago