{"_id":"tape-catch","_rev":"4176761","name":"tape-catch","description":"a wrapper around tape that catches and reports exceptions","dist-tags":{"latest":"1.0.6"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"time":{"modified":"2026-03-01T21:35:48.000Z","created":"2015-01-15T13:11:50.303Z","1.0.6":"2016-06-24T06:23:22.068Z","1.0.5":"2016-04-24T03:30:54.163Z","1.0.4":"2015-01-19T00:13:22.209Z","1.0.3":"2015-01-16T03:52:50.459Z","1.0.2":"2015-01-16T03:38:03.257Z","1.0.1":"2015-01-15T14:05:17.229Z","1.0.0":"2015-01-15T13:11:50.303Z"},"users":{},"author":{"name":"Michael Rhodes"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"versions":{"1.0.6":{"name":"tape-catch","version":"1.0.6","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","tape-tests":"npm run copy-tape-tests && tap test/*.js","test:browser":"testling -u","test:node":"tap test/catch-exceptions.js","test":"npm run test:node"},"testling":{"files":"./test/catch-exceptions/catch.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","dependencies":{"global":"~4.3.0"},"peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","run-series":"~1.0.2","string.prototype.trim":"~1.1.2","tap":"~0.5.0","tape":"~4.5.1","testling":"~1.7.1"},"gitHead":"305f212394d4d52f193518b707e835de2c188930","_id":"tape-catch@1.0.6","_shasum":"12931d5ea60a03a97d9bd19d0d7d8cfc3f6cecf1","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"12931d5ea60a03a97d9bd19d0d7d8cfc3f6cecf1","size":3586,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.6.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tape-catch-1.0.6.tgz_1466749401569_0.49006944173015654"},"directories":{},"publish_time":1466749402068,"_hasShrinkwrap":false,"_cnpm_publish_time":1466749402068,"_cnpmcore_publish_time":"2021-12-16T17:24:23.634Z"},"1.0.5":{"name":"tape-catch","version":"1.0.5","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","tape-tests":"npm run copy-tape-tests && tap test/*.js","test:browser":"testling -u","test:node":"tap test/catch-exceptions/*.js","test":"npm run test:node"},"testling":{"files":"./test/catch-exceptions/catch.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","dependencies":{"global":"~4.3.0"},"peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","run-series":"~1.0.2","string.prototype.trim":"~1.1.2","tap":"~0.5.0","tape":"~4.5.1","testling":"~1.7.1"},"gitHead":"11fba90a10a9d380c89199784fdddcea77353087","_id":"tape-catch@1.0.5","_shasum":"7cf7745bd82f059132a399f7c6bc0b0bf9b393a0","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"7cf7745bd82f059132a399f7c6bc0b0bf9b393a0","size":3045,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.5.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tape-catch-1.0.5.tgz_1461468653607_0.49067214340902865"},"directories":{},"publish_time":1461468654163,"_hasShrinkwrap":false,"_cnpm_publish_time":1461468654163,"_cnpmcore_publish_time":"2021-12-16T17:24:24.017Z"},"1.0.4":{"name":"tape-catch","version":"1.0.4","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","test":"npm run copy-tape-tests && tap test/*.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","run-series":"~1.0.2","tap":"~0.5.0","tape":"git://github.com/michaelrhodes/tape#no-res-at"},"gitHead":"de81bb151d8163b9874480a6332855e0cb55e5ab","_id":"tape-catch@1.0.4","_shasum":"04612fd2ace7f92b98985d45a0738cf6d4bd24dd","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"04612fd2ace7f92b98985d45a0738cf6d4bd24dd","size":2263,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.4.tgz"},"directories":{},"publish_time":1421626402209,"_hasShrinkwrap":false,"_cnpm_publish_time":1421626402209,"_cnpmcore_publish_time":"2021-12-16T17:24:24.211Z"},"1.0.3":{"name":"tape-catch","version":"1.0.3","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","test":"npm run copy-tape-tests && tap test/*.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","run-series":"~1.0.2","tap":"~0.5.0","tape":"git://github.com/michaelrhodes/tape#no-res-at"},"gitHead":"9d892b6524aad48fd15ef1fc91fce46759995f8d","_id":"tape-catch@1.0.3","_shasum":"65bf864480a996d0c2c34df78fa6f3183cde2b8f","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"65bf864480a996d0c2c34df78fa6f3183cde2b8f","size":1991,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.3.tgz"},"directories":{},"publish_time":1421380370459,"_hasShrinkwrap":false,"_cnpm_publish_time":1421380370459,"_cnpmcore_publish_time":"2021-12-16T17:24:24.418Z"},"1.0.2":{"name":"tape-catch","version":"1.0.2","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","test":"npm run copy-tape-tests && tap test/*.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","run-series":"~1.0.2","tap":"~0.5.0","tape":"git://github.com/michaelrhodes/tape#no-res-at"},"gitHead":"265f48827a5192010323afe3be78cda208dcb046","_id":"tape-catch@1.0.2","_shasum":"b410a357482944656e7711757629e42d334d39dc","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"b410a357482944656e7711757629e42d334d39dc","size":1952,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.2.tgz"},"directories":{},"publish_time":1421379483257,"_hasShrinkwrap":false,"_cnpm_publish_time":1421379483257,"_cnpmcore_publish_time":"2021-12-16T17:24:24.643Z"},"1.0.1":{"name":"tape-catch","version":"1.0.1","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","test":"npm run copy-tape-tests && tap test/*.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","tap":"~0.5.0","tape":"git://github.com/michaelrhodes/tape#no-res-at"},"gitHead":"0a4f542a5fcbd8a5bbc6921eff1df3a68d2bf135","_id":"tape-catch@1.0.1","_shasum":"1b0522cfbcccf8476de90c999ec7258ffa4f506b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"1b0522cfbcccf8476de90c999ec7258ffa4f506b","size":1508,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.1.tgz"},"directories":{},"publish_time":1421330717229,"_hasShrinkwrap":false,"_cnpm_publish_time":1421330717229,"_cnpmcore_publish_time":"2021-12-16T17:24:24.859Z"},"1.0.0":{"name":"tape-catch","version":"1.0.0","description":"a wrapper around tape that catches and reports exceptions","main":"index.js","scripts":{"copy-tape-tests":"bin/copy-tape-tests.js","test":"npm run copy-tape-tests && tap test/*.js"},"repository":{"type":"git","url":"https://github.com/michaelrhodes/tape-catch.git"},"keywords":["tape","exception","catch"],"author":{"name":"Michael Rhodes"},"license":"MIT","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"homepage":"https://github.com/michaelrhodes/tape-catch","peerDependencies":{"tape":"*"},"devDependencies":{"concat-stream":"~1.4.7","cpr":"~0.3.2","falafel":"~0.3.1","mkdirp":"~0.5.0","tap":"~0.5.0","tape":"git://github.com/michaelrhodes/tape#no-res-at"},"gitHead":"e73b059b4c7b7d5a56962d982fe4385116da10ca","_id":"tape-catch@1.0.0","_shasum":"231af13b0b760849f772a14783483be5e2e008c0","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"michaelrhodes","email":"spam@michaelrhod.es"},"maintainers":[{"name":"michaelrhodes","email":"spam@michaelrhod.es"}],"dist":{"shasum":"231af13b0b760849f772a14783483be5e2e008c0","size":1526,"noattachment":false,"key":"/tape-catch/-/tape-catch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tape-catch/download/tape-catch-1.0.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T01:38:07.594Z","publish_time":1421327510303,"_cnpm_publish_time":1421327510303}},"readme":"# tape-catch\ntape-catch is a wrapper around [tape](https://github.com/substack/tape) that reports uncaught errors in your tests. It re-adds functionality that was removed from tape in version 3.0.0.\n\n[![Build status](https://travis-ci.org/michaelrhodes/tape-catch.png?branch=master)](https://travis-ci.org/michaelrhodes/tape-catch)\n\n## install\n```sh\n$ npm install tape-catch\n```\n**note: tape is not installed alongside tape-catch.**\n\ntape-catch works with any and all versions of tape, so it leaves this choice to the user.\n\n## example\n```js\nvar test = require('tape-catch')\n\ntest('cause an exception', function (assert) {\n  asdf\n})\n\ntest('still run this test', function (assert) {\n  assert.equal(1 + 1, 2, 'this still ran')\n  assert.end() \n})\n```\n\n```\nTAP version 13\n# cause an exception\nnot ok 1 ReferenceError: asdf is not defined\n  ---\n    operator: error\n    expected: undefined\n    actual:   {}\n    stack:\n      ReferenceError: asdf is not defined\n        at Test.<anonymous> (/path/to/example.js:4:3)\n        at Test.bound [as _cb] (/path/to/node_modules/tape/lib/test.js:59:32)\n        at Test.exports.Test.run (/path/to/index.js:17:10)\n        at Test.bound [as run] (/path/to/node_modules/tape/lib/test.js:59:32)\n        at Object.next [as _onImmediate] (/path/to/node_modules/tape/lib/results.js:66:15)\n        at processImmediate [as _immediateCallback] (timers.js:345:15)\n  ...\n# still run this test\nok 2 this still ran\n\n1..2\n# tests 2\n# pass  1\n# fail  1\n```\n\n## license\n[MIT](http://opensource.org/licenses/MIT)\n","_attachments":{},"homepage":"https://github.com/michaelrhodes/tape-catch","bugs":{"url":"https://github.com/michaelrhodes/tape-catch/issues"},"license":"MIT"}