Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

steal-platform

0.0.4 • Public • Published

steal-platform

Detects common platforms. Use when special logic is needed (such as needing to specify a full URL for Ajax requests when using Cordova.

Install

npm install steal-platform --save

Use

var platform = require("steal-platform");
 
if(platform.isDesktopBrowser) {
 ...
}

License

MIT

Keywords

Install

npm i steal-platform

DownloadsWeekly Downloads

79

Version

0.0.4

License

MIT

Last publish

Collaborators

  • avatar