{"_id":"pull-abortable","_rev":"4634412","name":"pull-abortable","description":"a pull-stream which may be aborted","dist-tags":{"latest":"4.1.1"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"time":{"modified":"2026-04-10T19:08:01.000Z","created":"2014-12-05T13:53:42.959Z","4.1.1":"2017-04-16T06:33:18.661Z","4.1.0":"2015-06-15T16:20:46.984Z","4.0.0":"2014-12-10T03:46:44.005Z","3.0.0":"2014-12-10T03:33:25.686Z","2.0.0":"2014-12-07T03:28:11.486Z","1.1.1":"2014-12-05T19:39:11.697Z","1.1.0":"2014-12-05T17:25:40.588Z","1.0.0":"2014-12-05T13:53:42.959Z"},"users":{},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"versions":{"4.1.1":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"4.1.1","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"ff4d6ba05f1a9b31e736edb343d03d1d9dd5a180","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@4.1.1","_shasum":"b3ad5aefb4116b25916d26db89393ac98d0dcea1","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"shasum":"b3ad5aefb4116b25916d26db89393ac98d0dcea1","size":2617,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-4.1.1.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pull-abortable-4.1.1.tgz_1492324396837_0.2242234917357564"},"directories":{},"publish_time":1492324398661,"_hasShrinkwrap":false,"_cnpm_publish_time":1492324398661,"_cnpmcore_publish_time":"2021-12-16T15:47:08.753Z"},"4.1.0":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"4.1.0","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"0818a4dc282e0d105d78df65e551cee3a012def0","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@4.1.0","_shasum":"4d39a8cc9abaea07e7fc44cbb0538e6474a8ca13","_from":".","_npmVersion":"2.11.0","_nodeVersion":"0.12.4","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"4d39a8cc9abaea07e7fc44cbb0538e6474a8ca13","size":2552,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-4.1.0.tgz"},"directories":{},"publish_time":1434385246984,"_hasShrinkwrap":false,"_cnpm_publish_time":1434385246984,"_cnpmcore_publish_time":"2021-12-16T15:47:08.954Z"},"4.0.0":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"4.0.0","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"7c92f1dddfd75a614352be809f919d80e77482f3","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@4.0.0","_shasum":"7017a984c3b834de77bac38c10b776f22dfc1843","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"7017a984c3b834de77bac38c10b776f22dfc1843","size":2389,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-4.0.0.tgz"},"directories":{},"publish_time":1418183204005,"_hasShrinkwrap":false,"_cnpm_publish_time":1418183204005,"_cnpmcore_publish_time":"2021-12-16T15:47:09.174Z"},"3.0.0":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"3.0.0","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"e027a60f98a3fcbdb16e5f7912fdce18884f018b","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@3.0.0","_shasum":"5345005fecdb6e989c108d90823eec3d124d035f","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"5345005fecdb6e989c108d90823eec3d124d035f","size":2386,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-3.0.0.tgz"},"directories":{},"publish_time":1418182405686,"_hasShrinkwrap":false,"_cnpm_publish_time":1418182405686,"_cnpmcore_publish_time":"2021-12-16T15:47:09.373Z"},"2.0.0":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"2.0.0","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"4967036818cd8cf1681eac70fca47cee240cb778","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@2.0.0","_shasum":"977807fece92cfabf1a4a3b05494d656f7048995","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"977807fece92cfabf1a4a3b05494d656f7048995","size":2383,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-2.0.0.tgz"},"directories":{},"publish_time":1417922891486,"_hasShrinkwrap":false,"_cnpm_publish_time":1417922891486,"_cnpmcore_publish_time":"2021-12-16T15:47:09.614Z"},"1.1.1":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"1.1.1","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"6494875eebba3d0abce673554d7f53503fa01f23","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@1.1.1","_shasum":"b5011032380819c15e6b3909053e7bfb4b6060ae","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"b5011032380819c15e6b3909053e7bfb4b6060ae","size":2308,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-1.1.1.tgz"},"directories":{},"publish_time":1417808351697,"_hasShrinkwrap":false,"_cnpm_publish_time":1417808351697,"_cnpmcore_publish_time":"2021-12-16T15:47:09.828Z"},"1.1.0":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"1.1.0","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"979d5eca3f99703200281530f17dfd991f6c6557","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@1.1.0","_shasum":"ba7232f4ba656e8c540bc651f380c18e98477527","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"ba7232f4ba656e8c540bc651f380c18e98477527","size":2306,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-1.1.0.tgz"},"directories":{},"publish_time":1417800340588,"_hasShrinkwrap":false,"_cnpm_publish_time":1417800340588,"_cnpmcore_publish_time":"2021-12-16T15:47:10.030Z"},"1.0.0":{"name":"pull-abortable","description":"a pull-stream which may be aborted","version":"1.0.0","homepage":"https://github.com/dominictarr/pull-abortable","repository":{"type":"git","url":"git://github.com/dominictarr/pull-abortable.git"},"dependencies":{},"devDependencies":{"interleavings":"~0.3.0","pull-stream":"~2.26.0"},"scripts":{"prepublish":"npm ls &&  npm test","test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","gitHead":"ca31c85ceb9def043a83f809060a46399a7d2b40","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"_id":"pull-abortable@1.0.0","_shasum":"c289582772ffa2580867e32b489a2d64f94d7692","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"dist":{"shasum":"c289582772ffa2580867e32b489a2d64f94d7692","size":2026,"noattachment":false,"key":"/pull-abortable/-/pull-abortable-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pull-abortable/download/pull-abortable-1.0.0.tgz"},"directories":{},"publish_time":1417787622959,"_hasShrinkwrap":false,"_cnpm_publish_time":1417787622959,"_cnpmcore_publish_time":"2021-12-16T15:47:10.233Z"}},"readme":"# pull-abortable\n\na pull-stream that may be aborted from the outside.\n\n# example\n\n``` js\nvar pull = require('pull-stream')\nvar Abortable = require('pull-abortable')\n\nvar abortable = Abortable()\npull(\n  source,\n  abortable,\n  sink\n)\n//at any time you can abort the pipeline,\n//the source will be cleaned up, and any\n//error will be passed to the sink next time it reads.\natAnyTime(function () {\n  abortable.abort()\n})\n\n// abort the stream and end with an error\nabortable.abort(new Error('example'))\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/dominictarr/pull-abortable","bugs":{"url":"https://github.com/dominictarr/pull-abortable/issues"},"license":"MIT"}