Project rename

This commit is contained in:
2019-03-24 08:27:49 +01:00
parent 594480d11f
commit 1728e0e6e1
7262 changed files with 0 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
Copyright 2014-2018 Benjamin Tan <https://demoneaux.github.io/>
Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+75
View File
@@ -0,0 +1,75 @@
# Platform.js v1.3.5
A platform detection library that works on nearly all JavaScript platforms.
## Disclaimer
Platform.js is for informational purposes only & **not** intended as a substitution for [feature detection/inference](http://allyoucanleet.com/post/18087210413/feature-testing-costs#screencast2) checks.
## Documentation
* [doc/README.md](https://github.com/bestiejs/platform.js/blob/master/doc/README.md#readme)
* [wiki/Changelog](https://github.com/bestiejs/platform.js/wiki/Changelog)
* [wiki/Roadmap](https://github.com/bestiejs/platform.js/wiki/Roadmap)
## Installation
In a browser:
```html
<script src="platform.js"></script>
```
In an AMD loader:
```js
require(['platform'], function(platform) {/*…*/});
```
Using npm:
```shell
$ npm i --save platform
```
In Node.js:
```js
var platform = require('platform');
```
Usage example:
```js
// on IE10 x86 platform preview running in IE7 compatibility mode on Windows 7 64 bit edition
platform.name; // 'IE'
platform.version; // '10.0'
platform.layout; // 'Trident'
platform.os; // 'Windows Server 2008 R2 / 7 x64'
platform.description; // 'IE 10.0 x86 (platform preview; running in IE 7 mode) on Windows Server 2008 R2 / 7 x64'
// or on an iPad
platform.name; // 'Safari'
platform.version; // '5.1'
platform.product; // 'iPad'
platform.manufacturer; // 'Apple'
platform.layout; // 'WebKit'
platform.os; // 'iOS 5.0'
platform.description; // 'Safari 5.1 on Apple iPad (iOS 5.0)'
// or parsing a given UA string
var 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');
info.name; // 'Opera'
info.version; // '11.52'
info.layout; // 'Presto'
info.os; // 'Mac OS X 10.7.2'
info.description; // 'Opera 11.52 (identifying as Firefox 4.0) on Mac OS X 10.7.2'
```
## Support
Tested in Chrome 62-63, Firefox 56-57, IE 11, Edge 15-16, Safari 10-11, Node.js 4-8, & PhantomJS 2.1.1.
## BestieJS
Platform.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.
+126
View File
@@ -0,0 +1,126 @@
{
"_args": [
[
{
"raw": "platform@1.3.5",
"scope": null,
"escapedName": "platform",
"name": "platform",
"rawSpec": "1.3.5",
"spec": "1.3.5",
"type": "version"
},
"/Users/gerrit/Documents/dev/nodejs/rentfor.camp/html/RentForCamp/node_modules/helmet-csp"
]
],
"_from": "platform@1.3.5",
"_id": "platform@1.3.5",
"_inCache": true,
"_location": "/platform",
"_nodeVersion": "8.9.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/platform-1.3.5.tgz_1516716160756_0.07987799402326345"
},
"_npmUser": {
"name": "d10",
"email": "demoneaux@gmail.com"
},
"_npmVersion": "5.5.1",
"_phantomChildren": {},
"_requested": {
"raw": "platform@1.3.5",
"scope": null,
"escapedName": "platform",
"name": "platform",
"rawSpec": "1.3.5",
"spec": "1.3.5",
"type": "version"
},
"_requiredBy": [
"/helmet-csp"
],
"_resolved": "https://registry.npmjs.org/platform/-/platform-1.3.5.tgz",
"_shasum": "fb6958c696e07e2918d2eeda0f0bc9448d733444",
"_shrinkwrap": null,
"_spec": "platform@1.3.5",
"_where": "/Users/gerrit/Documents/dev/nodejs/rentfor.camp/html/RentForCamp/node_modules/helmet-csp",
"author": {
"name": "Benjamin Tan",
"email": "demoneaux@gmail.com",
"url": "https://demoneaux.github.io/"
},
"bugs": {
"url": "https://github.com/bestiejs/platform.js/issues"
},
"contributors": [
{
"name": "Benjamin Tan",
"email": "demoneaux@gmail.com",
"url": "https://demoneaux.github.io/"
},
{
"name": "John-David Dalton",
"email": "john.david.dalton@gmail.com",
"url": "http://allyoucanleet.com/"
},
{
"name": "Mathias Bynens",
"email": "mathias@qiwi.be",
"url": "https://mathiasbynens.be/"
}
],
"dependencies": {},
"description": "A platform detection library that works on nearly all JavaScript platforms.",
"devDependencies": {
"docdown": "~0.7.2",
"qunit-extras": "^1.5.0",
"qunitjs": "^1.23.1",
"requirejs": "^2.3.3"
},
"directories": {},
"dist": {
"integrity": "sha512-TuvHS8AOIZNAlE77WUDiR4rySV/VMptyMfcfeoMgs4P8apaZM3JrnbzBiixKUv+XR6i+BXrQh8WAnjaSPFO65Q==",
"shasum": "fb6958c696e07e2918d2eeda0f0bc9448d733444",
"tarball": "https://registry.npmjs.org/platform/-/platform-1.3.5.tgz"
},
"files": [
"platform.js"
],
"gitHead": "b3f1c56de9d39ea4cd1ca8271155faceb1e93092",
"homepage": "https://github.com/bestiejs/platform.js#readme",
"keywords": [
"environment",
"platform",
"ua",
"useragent"
],
"license": "MIT",
"main": "platform.js",
"maintainers": [
{
"name": "jdalton",
"email": "john@fusejs.com"
},
{
"name": "mathias",
"email": "mathias@qiwi.be"
},
{
"name": "d10",
"email": "demoneaux@gmail.com"
}
],
"name": "platform",
"optionalDependencies": {},
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/bestiejs/platform.js.git"
},
"scripts": {
"doc": "docdown platform.js doc/README.md style=github title=\"Platform.js <sup>v${npm_package_version}</sup>\" toc=properties url=https://github.com/bestiejs/platform.js/blob/${npm_package_version}/platform.js",
"test": "node test/test"
},
"version": "1.3.5"
}
File diff suppressed because it is too large Load Diff