{"maintainers":[{"name":"anonymous","email":"doug@somethingdoug.com"},{"name":"anonymous","email":"jonathanrichardong@gmail.com"},{"name":"anonymous","email":"tj@vision-media.ca"}],"dist-tags":{"latest":"0.1.0"},"author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"description":"Pause a stream's data events","readme":"# pause\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-image]][node-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nPause a stream's data events\n\n## Installation\n\n```sh\n$ npm install pause\n```\n\n## API\n\n```js\nvar pause = require('pause')\n```\n\n### handle = pause(stream)\n\nPause the data events on a stream and return a handle to resume or end the\nstream.\n\n#### handle.end()\n\nDispose of the handle. This does not end the stream, but it simply discards\nthe event collection, making `handle.resume()` a no-op.\n\n#### handle.resume()\n\nResume the stream by re-emitting all the `data` events in the same order,\nfollowed by an `end` event, if that was emitting during the pause.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/pause.svg\n[npm-url]: https://npmjs.org/package/pause\n[node-image]: https://img.shields.io/node/v/pause.svg\n[node-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/stream-utils/pause/master.svg\n[travis-url]: https://travis-ci.org/stream-utils/pause\n[coveralls-image]: https://img.shields.io/coveralls/stream-utils/pause.svg\n[coveralls-url]: https://coveralls.io/r/stream-utils/pause?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/pause.svg\n[downloads-url]: https://npmjs.org/package/pause\n","repository":{"type":"git","url":"https://github.com/stream-utils/pause"},"users":{"m42am":true,"chengen":true},"bugs":{"url":"https://github.com/stream-utils/pause/issues"},"license":"MIT","versions":{"0.0.1":{"name":"pause","version":"0.0.1","description":"Pause streams...","keywords":[],"author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"dependencies":{},"devDependencies":{"mocha":"*","should":"*"},"main":"index","_id":"pause@0.0.1","dist":{"shasum":"1d408b3fdb76923b9543d96fb4c9dfd535d9cb5d","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/pause/-/pause-0.0.1.tgz","integrity":"sha512-KG8UEiEVkR3wGEb4m5yZkVCzigAD+cVEJck2CzYZO37ZGJfctvVptVO192MwrtPhzONn6go8ylnOdMhKqi4nfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/3fztZPNH4X2gIagkv/5jFhFuGBm+gex5sEBsUFimHAiEAx9hRU3IIosHLdwbd+aLxVOfP3j0jDSbavFmBPQEHIdg="}]},"maintainers":[{"name":"anonymous","email":"tj@vision-media.ca"}]},"0.1.0":{"name":"pause","description":"Pause a stream's data events","version":"0.1.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"}],"license":"MIT","repository":{"type":"git","url":"https://github.com/stream-utils/pause"},"devDependencies":{"after":"0.8.1","istanbul":"0.3.17","mocha":"1.21.5"},"files":["HISTORY.md","LICENSE","README.md","index.js"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-ci":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"},"gitHead":"ad2d6924b4f90e79511a07a058899172acd3e59b","bugs":{"url":"https://github.com/stream-utils/pause/issues"},"homepage":"https://github.com/stream-utils/pause","_id":"pause@0.1.0","_shasum":"ebc8a4a8619ff0b8a81ac1513c3434ff469fdb74","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"anonymous","email":"doug@somethingdoug.com"},"maintainers":[{"name":"anonymous","email":"tj@vision-media.ca"},{"name":"anonymous","email":"jonathanrichardong@gmail.com"},{"name":"anonymous","email":"doug@somethingdoug.com"}],"dist":{"shasum":"ebc8a4a8619ff0b8a81ac1513c3434ff469fdb74","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/pause/-/pause-0.1.0.tgz","integrity":"sha512-aeHLgQCtI3tcuYVnrvAeVb4Tkm1za4r3YDv3hMeUxcRxet3dbEhJOdtoMrsT/Q5tY3Oy2A1A9FD5el5tWp2FSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOfVbGgvhEuSPQwR1iebEYt7pxWCLZE2crHW4UC9RqzAIhAN7acQplAs7iWMKCLj9Ek9aZedv3wBHgB9Ee/NN/OLAy"}]}}},"name":"pause","time":{"modified":"2022-06-23T15:18:16.187Z","created":"2012-07-19T18:00:30.666Z","0.0.1":"2012-07-19T18:00:32.141Z","0.1.0":"2015-07-02T00:16:24.380Z"},"readmeFilename":"README.md","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"}],"homepage":"https://github.com/stream-utils/pause"}