| { |
| "name": "resumer", |
| "version": "0.0.0", |
| "description": "a through stream that starts paused and resumes on the next tick", |
| "main": "index.js", |
| "dependencies": { |
| "through": "~2.3.4" |
| }, |
| "devDependencies": { |
| "tap": "~0.4.0", |
| "tape": "~1.0.2", |
| "concat-stream": "~0.1.1" |
| }, |
| "scripts": { |
| "test": "tap test/*.js" |
| }, |
| "testling": { |
| "files": "test/*.js", |
| "browsers": [ |
| "ie/6..latest", |
| "chrome/20..latest", |
| "firefox/10..latest", |
| "safari/latest", |
| "opera/11.0..latest", |
| "iphone/6", |
| "ipad/6" |
| ] |
| }, |
| "repository": { |
| "type": "git", |
| "url": "git://github.com/substack/resumer.git" |
| }, |
| "homepage": "https://github.com/substack/resumer", |
| "keywords": [ |
| "through", |
| "stream", |
| "pause", |
| "resume" |
| ], |
| "author": { |
| "name": "James Halliday", |
| "email": "mail@substack.net", |
| "url": "http://substack.net" |
| }, |
| "license": "MIT", |
| "readme": "# resumer\n\nReturn a through stream that starts out paused and resumes on the next tick,\nunless somebody called `.pause()`.\n\nThis module has the same signature as\n[through](https://npmjs.com/package/through).\n\n[![browser support](https://ci.testling.com/substack/resumer.png)](http://ci.testling.com/substack/resumer)\n\n[![build status](https://secure.travis-ci.org/substack/resumer.png)](http://travis-ci.org/substack/resumer)\n\n# example\n\n``` js\nvar resumer = require('resumer');\nvar s = createStream();\ns.pipe(process.stdout);\n\nfunction createStream () {\n var stream = resumer();\n stream.queue('beep boop\\n');\n return stream;\n}\n```\n\n```\n$ node example/resume.js\nbeep boop\n```\n\n# methods\n\n``` js\nvar resumer = require('resumer')\n```\n\n## resumer(write, end)\n\nReturn a new through stream from `write` and `end`, which default to\npass-through `.queue()` functions if not specified.\n\nThe stream starts out paused and will be resumed on the next tick unless you\ncall `.pause()` first.\n\n`write` and `end` get passed directly through to\n[through](https://npmjs.com/package/through).\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install resumer\n```\n\n# license\n\nMIT\n", |
| "readmeFilename": "readme.markdown", |
| "_id": "resumer@0.0.0", |
| "dist": { |
| "shasum": "f1e8f461e4064ba39e82af3cdc2a8c893d076759", |
| "tarball": "http://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz" |
| }, |
| "_from": "resumer@~0.0.0", |
| "_npmVersion": "1.2.2", |
| "_npmUser": { |
| "name": "substack", |
| "email": "mail@substack.net" |
| }, |
| "maintainers": [ |
| { |
| "name": "substack", |
| "email": "mail@substack.net" |
| } |
| ], |
| "directories": {}, |
| "_shasum": "f1e8f461e4064ba39e82af3cdc2a8c893d076759", |
| "_resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", |
| "bugs": { |
| "url": "https://github.com/substack/resumer/issues" |
| } |
| } |