Package Exports
- uupaa.spec.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (uupaa.spec.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Spec.js
Spec detection.
Document
and
- https://github.com/uupaa/UserAgent.js/wiki/UserAgent
- https://github.com/uupaa/Device.js/wiki/Device
- https://github.com/uupaa/Browser.js/wiki/Browser
How to use
<script src="lib/Spec.js">
<script>
// for Browser
console.log( Spec() );
</script>// for WebWorkers
importScripts("lib/Spec.js");
console.log( Spec() );// for Node.js
var Spec = require("lib/Spec.js");
console.log( Spec() );for Developers
Install development dependency tools
$ brew install closure-compiler $ brew install node $ npm install -g plato
Clone Repository and Install
$ git clone git@github.com:uupaa/Spec.js.git $ cd Spec.js $ npm install
Build and Minify
$ npm run buildTest
$ npm run testLint
$ npm run lint