motion
Version:
motion - moving development forward
100 lines (99 loc) • 3.23 kB
JSON
{
"_args": [
[
"date-now@https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "date-now@>=0.1.4 <0.2.0",
"_id": "date-now@0.1.4",
"_inCache": true,
"_location": "/date-now",
"_phantomChildren": {},
"_requested": {
"name": "date-now",
"raw": "date-now@https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"rawSpec": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"type": "remote"
},
"_requiredBy": [
"/console-browserify"
],
"_resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"_shasum": "eaf439fd4d4848ad74e5cc7dbef200672b9e345b",
"_shrinkwrap": null,
"_spec": "date-now@https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "raynos2@gmail.com",
"name": "Raynos"
},
"bugs": {
"email": "raynos2@gmail.com",
"url": "https://github.com/Colingo/date-now/issues"
},
"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"
},
"homepage": "https://github.com/Colingo/date-now",
"keywords": [],
"licenses": [
{
"type": "MIT",
"url": "http://github.com/Colingo/date-now/raw/master/LICENSE"
}
],
"main": "index",
"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": {
"browsers": {
"chrome": [
"22",
"23",
"canary"
],
"firefox": [
"16",
"17",
"nightly"
],
"ie": [
"10",
"8",
"9"
],
"opera": [
"12",
"next"
],
"safari": [
"5.1"
]
},
"files": "test/*.js"
},
"version": "0.1.4"
}