UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

136 lines (135 loc) 4.47 kB
{ "_args": [ [ { "raw": "timers-browserify@^1.0.1", "scope": null, "escapedName": "timers-browserify", "name": "timers-browserify", "rawSpec": "^1.0.1", "spec": ">=1.0.1 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\browserify" ] ], "_from": "timers-browserify@>=1.0.1 <2.0.0", "_id": "timers-browserify@1.4.2", "_inCache": true, "_location": "/timers-browserify", "_nodeVersion": "4.2.2", "_npmUser": { "name": "jryans", "email": "jryans@gmail.com" }, "_npmVersion": "2.14.7", "_phantomChildren": {}, "_requested": { "raw": "timers-browserify@^1.0.1", "scope": null, "escapedName": "timers-browserify", "name": "timers-browserify", "rawSpec": "^1.0.1", "spec": ">=1.0.1 <2.0.0", "type": "range" }, "_requiredBy": [ "/browserify" ], "_resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", "_shasum": "c9c58b575be8407375cb5e2462dacee74359f41d", "_shrinkwrap": null, "_spec": "timers-browserify@^1.0.1", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\browserify", "author": { "name": "J. Ryan Stinnett", "email": "jryans@gmail.com", "url": "http://convolv.es/" }, "bugs": { "url": "https://github.com/jryans/timers-browserify/issues" }, "contributors": [ { "name": "Guy Bedford", "email": "guybedford@gmail.com" }, { "name": "Ionut-Cristian Florescu", "email": "ionut.florescu@gmail.com" }, { "name": "James Halliday", "email": "mail@substack.net" }, { "name": "Jan Schär", "email": "jscissr@gmail.com" }, { "name": "Johannes Ewald", "email": "johannes.ewald@peerigon.com" }, { "name": "Jonathan Prins", "email": "jon@blip.tv" }, { "name": "Matt Esch", "email": "matt@mattesch.info" } ], "dependencies": { "process": "~0.11.0" }, "description": "timers module for browserify", "devDependencies": { "browserify": "~1.10.16", "connect": "~2.3.0" }, "directories": {}, "dist": { "shasum": "c9c58b575be8407375cb5e2462dacee74359f41d", "tarball": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz" }, "engines": { "node": ">=0.6.0" }, "gitHead": "762af88b6ed1d9b2ac97110649b723391ddd6bdd", "homepage": "https://github.com/jryans/timers-browserify", "jspm": { "map": { "./main.js": { "node": "@node/timers" } } }, "keywords": [ "timers", "browserify", "browser" ], "licenses": [ { "type": "MIT", "url": "https://github.com/jryans/timers-browserify/blob/master/LICENSE.md" } ], "main": "main.js", "maintainers": [ { "name": "jryans", "email": "jryans@gmail.com" } ], "name": "timers-browserify", "optionalDependencies": {}, "readme": "# Overview\n\nAdds support for the `timers` module to browserify.\n\n## Wait, isn't it already supported in the browser?\n\nThe public methods of the `timers` module are:\n\n* `setTimeout(callback, delay, [arg], [...])`\n* `clearTimeout(timeoutId)`\n* `setInterval(callback, delay, [arg], [...])`\n* `clearInterval(intervalId)`\n\nand indeed, browsers support these already.\n\n## So, why does this exist?\n\nThe `timers` module also includes some private methods used in other built-in\nNode.js modules:\n\n* `enroll(item, delay)`\n* `unenroll(item)`\n* `active(item)`\n\nThese are used to efficiently support a large quantity of timers with the same\ntimeouts by creating only a few timers under the covers.\n\nNode.js also offers the `immediate` APIs, which aren't yet available cross-browser, so we polyfill those:\n\n* `setImmediate(callback, [arg], [...])`\n* `clearImmediate(immediateId)`\n\n## I need lots of timers and want to use linked list timers as Node.js does.\n\nLinked lists are efficient when you have thousands (millions?) of timers with the same delay.\nTake a look at [timers-browserify-full](https://www.npmjs.com/package/timers-browserify-full) in this case.\n\n# License\n\n[MIT](http://jryans.mit-license.org/)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/jryans/timers-browserify.git" }, "scripts": {}, "version": "1.4.2" }