{"name":"platform","version":"0.1.337","description":"A platform detection library that works on nearly all JavaScript platforms.","homepage":"https://github.com/bestiejs/Platform.js","main":"platform","keywords":["environment","platform","ua","useragent"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"John-David Dalton","email":"john@fusejs.com","url":"http://allyoucanleet.com/"},"maintainers":[{"name":"jdalton","email":"john@fusejs.com"},{"name":"mathias","email":"mathias@qiwi.be"}],"bugs":{"url":"https://github.com/bestiejs/Platform.js/issues"},"repository":{"type":"git","url":"git://github.com/bestiejs/Platform.js.git"},"engines":["node","rhino"],"directories":{"doc":"docs","test":"tests"},"_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"_id":"platform@0.1.337","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"ab2287c334b968ea5709418a89b1034f0f4750e7","tarball":"http://registry-npm.ywwl.com/platform/download/platform-0.1.337.tgz","integrity":"sha512-RsweHOX7klwQom3+HT5y5s4yM6MhbskzaJnpPhZt3moblMS/uryXSCvLykUBEgkOwruHQZgcK3DHrFwmtv3yag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCELbBu9KdCfTJaZnDBYKLSNNIPEIQ5Kpf0hZ3JBE/ZBwIgTDGnzG9qL/t5pVs5dsjT8x3zs8KQBUIRdXYLbTE59ok="}],"size":2344960,"noattachment":false,"key":"/platform/-/platform-0.1.337.tgz"},"readme":"# Platform.js v1.3.5\n\nA platform detection library that works on nearly all JavaScript platforms.\n\n## Disclaimer\n\nPlatform.js is for informational purposes only & **not** intended as a substitution for feature detection/inference checks.\n\n## Documentation\n\n* [doc/README.md](https://github.com/bestiejs/platform.js/blob/master/doc/README.md#readme)\n* [wiki/Changelog](https://github.com/bestiejs/platform.js/wiki/Changelog)\n* [wiki/Roadmap](https://github.com/bestiejs/platform.js/wiki/Roadmap)\n* [platform.js demo](https://bestiejs.github.io/platform.js/) (See also [whatsmyua.info](https://www.whatsmyua.info/) for comparisons between platform.js and other platform detection libraries)\n\n## Installation\n\nIn a browser:\n\n```html\n<script src=\"platform.js\"></script>\n```\n\nIn an AMD loader:\n\n```js\nrequire(['platform'], function(platform) {/*…*/});\n```\n\nUsing npm:\n\n```shell\n$ npm i --save platform\n```\n\nIn Node.js:\n\n```js\nvar platform = require('platform');\n```\n\nUsage example:\n\n```js\n// on IE10 x86 platform preview running in IE7 compatibility mode on Windows 7 64 bit edition\nplatform.name; // 'IE'\nplatform.version; // '10.0'\nplatform.layout; // 'Trident'\nplatform.os; // 'Windows Server 2008 R2 / 7 x64'\nplatform.description; // 'IE 10.0 x86 (platform preview; running in IE 7 mode) on Windows Server 2008 R2 / 7 x64'\n\n// or on an iPad\nplatform.name; // 'Safari'\nplatform.version; // '5.1'\nplatform.product; // 'iPad'\nplatform.manufacturer; // 'Apple'\nplatform.layout; // 'WebKit'\nplatform.os; // 'iOS 5.0'\nplatform.description; // 'Safari 5.1 on Apple iPad (iOS 5.0)'\n\n// or parsing a given UA string\nvar info = platform.parse('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7.2; en; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 11.52');\ninfo.name; // 'Opera'\ninfo.version; // '11.52'\ninfo.layout; // 'Presto'\ninfo.os; // 'Mac OS X 10.7.2'\ninfo.description; // 'Opera 11.52 (identifying as Firefox 4.0) on Mac OS X 10.7.2'\n```\n\n## Support\n\nTested in Chrome 82-83, Firefox 77-78, IE 11, Edge 82-83, Safari 12-13, Node.js 4-14, & PhantomJS 2.1.1.\n\n## BestieJS\n\nPlatform.js is part of the BestieJS *“Best in Class”* module collection. This means we promote solid browser/environment support, ES5+ precedents, unit testing, & plenty of documentation.\n","publish_time":1321204107521,"_cnpm_publish_time":1321204107521,"dist-tags":{"latest":"1.3.6"}}