UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

125 lines (124 loc) 3.69 kB
{ "_args": [ [ { "raw": "date-now@^0.1.4", "scope": null, "escapedName": "date-now", "name": "date-now", "rawSpec": "^0.1.4", "spec": ">=0.1.4 <0.2.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\console-browserify" ] ], "_from": "date-now@>=0.1.4 <0.2.0", "_id": "date-now@0.1.4", "_inCache": true, "_location": "/date-now", "_npmUser": { "name": "raynos", "email": "raynos2@gmail.com" }, "_npmVersion": "1.2.3", "_phantomChildren": {}, "_requested": { "raw": "date-now@^0.1.4", "scope": null, "escapedName": "date-now", "name": "date-now", "rawSpec": "^0.1.4", "spec": ">=0.1.4 <0.2.0", "type": "range" }, "_requiredBy": [ "/console-browserify" ], "_resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", "_shasum": "eaf439fd4d4848ad74e5cc7dbef200672b9e345b", "_shrinkwrap": null, "_spec": "date-now@^0.1.4", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\console-browserify", "author": { "name": "Raynos", "email": "raynos2@gmail.com" }, "bugs": { "url": "https://github.com/Colingo/date-now/issues", "email": "raynos2@gmail.com" }, "contributors": [ { "name": "Artem Shoobovych" } ], "dependencies": {}, "description": "A requirable version of Date.now()", "devDependencies": { "browserify": "https://github.com/raynos/node-browserify/tarball/master", "tape": "~0.2.2", "testem": "~0.2.52" }, "directories": {}, "dist": { "shasum": "eaf439fd4d4848ad74e5cc7dbef200672b9e345b", "tarball": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz" }, "homepage": "https://github.com/Colingo/date-now", "keywords": [], "licenses": [ { "type": "MIT", "url": "http://github.com/Colingo/date-now/raw/master/LICENSE" } ], "main": "index", "maintainers": [ { "name": "raynos", "email": "raynos2@gmail.com" } ], "name": "date-now", "optionalDependencies": {}, "readme": "# date-now\n\n[![build status][1]][2]\n\n[![browser support][3]][4]\n\nA requirable version of Date.now()\n\nUse-case is to be able to mock out Date.now() using require interception.\n\n## Example\n\n```js\nvar now = require(\"date-now\")\n\nvar ts = now()\nvar ts2 = Date.now()\nassert.equal(ts, ts2)\n```\n\n## example of seed\n\n```\nvar now = require(\"date-now/seed\")(timeStampFromServer)\n\n// ts is in \"sync\" with the seed value from the server\n// useful if your users have their local time being a few minutes\n// out of your server time.\nvar ts = now()\n```\n\n## Installation\n\n`npm install date-now`\n\n## Contributors\n\n - Raynos\n\n## MIT Licenced\n\n [1]: https://secure.travis-ci.org/Colingo/date-now.png\n [2]: http://travis-ci.org/Colingo/date-now\n [3]: http://ci.testling.com/Colingo/date-now.png\n [4]: http://ci.testling.com/Colingo/date-now\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/Colingo/date-now.git" }, "scripts": { "build": "browserify test/index.js -o test/static/bundle.js", "test": "node ./test", "testem": "testem" }, "testling": { "files": "test/*.js", "browsers": { "ie": [ "8", "9", "10" ], "firefox": [ "16", "17", "nightly" ], "chrome": [ "22", "23", "canary" ], "opera": [ "12", "next" ], "safari": [ "5.1" ] } }, "version": "0.1.4" }