GT2/GT2-iOS/node_modules/batch/package.json

90 lines
3.9 KiB
JSON

{
"_args": [
[
{
"raw": "batch@0.5.3",
"scope": null,
"escapedName": "batch",
"name": "batch",
"rawSpec": "0.5.3",
"spec": "0.5.3",
"type": "version"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/serve-index"
]
],
"_from": "batch@0.5.3",
"_id": "batch@0.5.3",
"_inCache": true,
"_location": "/batch",
"_nodeVersion": "0.12.4",
"_npmUser": {
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
},
"_npmVersion": "2.10.1",
"_phantomChildren": {},
"_requested": {
"raw": "batch@0.5.3",
"scope": null,
"escapedName": "batch",
"name": "batch",
"rawSpec": "0.5.3",
"spec": "0.5.3",
"type": "version"
},
"_requiredBy": [
"/serve-index"
],
"_resolved": "https://registry.npmjs.org/batch/-/batch-0.5.3.tgz",
"_shasum": "3f3414f380321743bfc1042f9a83ff1d5824d464",
"_shrinkwrap": null,
"_spec": "batch@0.5.3",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/serve-index",
"author": {
"name": "TJ Holowaychuk",
"email": "tj@vision-media.ca"
},
"browser": {
"emitter": "events"
},
"bugs": {
"url": "https://github.com/visionmedia/batch/issues"
},
"dependencies": {},
"description": "Simple async batch",
"devDependencies": {
"mocha": "*",
"should": "*"
},
"directories": {},
"dist": {
"shasum": "3f3414f380321743bfc1042f9a83ff1d5824d464",
"tarball": "https://registry.npmjs.org/batch/-/batch-0.5.3.tgz"
},
"gitHead": "247f3ec041be32bb8ddc0816d2155b2391550084",
"homepage": "https://github.com/visionmedia/batch#readme",
"licenses": [
{
"type": "MIT"
}
],
"main": "index",
"maintainers": [
{
"name": "tjholowaychuk",
"email": "tj@vision-media.ca"
}
],
"name": "batch",
"optionalDependencies": {},
"readme": "\n# batch\n\n Simple async batch with concurrency control and progress reporting.\n\n## Installation\n\n```\n$ npm install batch\n```\n\n## API\n\n```js\nvar Batch = require('batch')\n , batch = new Batch;\n\nbatch.concurrency(4);\n\nids.forEach(function(id){\n batch.push(function(done){\n User.get(id, done);\n });\n});\n\nbatch.on('progress', function(e){\n\n});\n\nbatch.end(function(err, users){\n\n});\n```\n\n### Progress events\n\n Contain the \"job\" index, response value, duration information, and completion data.\n\n```js\n{ index: 1,\n value: 'bar',\n pending: 2,\n total: 3,\n complete: 2,\n percent: 66,\n start: Thu Oct 04 2012 12:25:53 GMT-0700 (PDT),\n end: Thu Oct 04 2012 12:25:53 GMT-0700 (PDT),\n duration: 0 }\n```\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2013 TJ Holowaychuk <tj@vision-media.ca>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
"readmeFilename": "Readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/visionmedia/batch.git"
},
"scripts": {},
"version": "0.5.3"
}