Skip to content
This repository was archived by the owner on Mar 5, 2019. It is now read-only.

Repository files navigation

js-platform

[!!!] The source code of this package is on https://github.com/docomodigital/js-utils, this repository will be removed asap

Build StatusCoverage Statusnpm versionGreenkeeper badge

Allow to get the current user agent on your device.

Usage

import{JsPlatform}from'js-platform';// create a JsPlatform new instanceconstPlatform=newJsPlatform();// 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-platform/latest

or run the following command insite the js-platform folder:

npm run doc:open

About

No description, website, or topics provided.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages