{"name":"try-to-tape","version":"1.2.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"wrap tape async functions and show error on reject","homepage":"http://github.com/coderaiser/try-to-tape","main":"lib/try-to-tape.js","repository":{"type":"git","url":"git://github.com/coderaiser/try-to-tape.git"},"scripts":{"test":"tape 'test/*.js'","watch:test":"nodemon -w lib -w test -x \"npm test\"","lint":"eslint lib test","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{"currify":"^3.0.0","try-to-catch":"^1.0.2"},"keywords":["try","catch","function","promise","async","await","try-catch","then","tap","tape"],"devDependencies":{"@cloudcmd/stub":"^2.0.0","coveralls":"^3.0.0","eslint":"^5.6.0","nodemon":"^1.14.12","nyc":"^13.0.1","redrun":"^7.0.2","tape":"^4.8.0","try-catch":"^2.0.0"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"gitHead":"b5bf36054e0539ff29d1d69b9052fd9ab7c1a869","bugs":{"url":"https://github.com/coderaiser/try-to-tape/issues"},"_id":"try-to-tape@1.2.0","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"integrity":"sha512-Kdt5+RRsHEUiezweDFCTcpyV4YX57cm1pm//HS0ybuy4XwNXxgyiR6Zw7iMDvy+Om9evJCXzR9CfKaR0HA5LgA==","shasum":"cafdeb0cfdd54cf66f94e451c46f385029ba290a","tarball":"http://registry-npm.ywwl.com/try-to-tape/download/try-to-tape-1.2.0.tgz","fileCount":5,"unpackedSize":4756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNMtNCRA9TVsSAnZWagAAbk8P/0dyk5DqRpjV/9TqqIoH\nLw6NdG6ime46sSyCEA2n8rn/fY4PxgwcyTz/om5EZoqz73HkXu5cC3tNXE9g\n3hM4t8V/29pQrLHathMF2y19m/m8kK86NbdfDwLeviL5CzxP6jCRH6ozqZgU\n8P3LWvm7sTpnevSieHAcCd4Fr2f5w2/OF/IJF+RJbc+TznbsTm537qM0cDvH\nzdu0NL2MFttzp7C7hCOriFgNjC+Mu4HZuIvTsJN8p8bW/kVcpzFB3UeiJEQW\nvUFn0S/3GqbhlzCrZ6Iy/A5UqGk+MX761aCLMgAGPQIFTnIDCh6UIoO7GC1A\nx71Rqy0TtaDG4wWGmp2pFk52RRr9Zf4b0XJUcRfVdWefbVpUTifqzueeX+v0\n0uX8hpvo56U6A5IQHMbjQNLloVDHof3O0noL83+VT9X01vksx809R7IEjibk\nuarv76P3ouAEH4BHsNMP4uD0ufEKQ3yJvwKGK4dx2xHDx2TqW7QKF3QhaTxm\n5Aud+kOoN3a1HiFdUkjnDZwpEIQT0ky1syYX44sjGQ0I277OS0P0UJJgt3vc\naAorvDIy6xLSDg7LxtSjC0D/milrJbjaC6xmqKbmgLsj+NDPfXAmv2oghrzH\n2ull3p99TosyMlqEH30BSluBbX8S4SX6xYTxnxv5UrojrfmkecPgdhbQaNRy\nSKr7\r\n=fSUH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcTP3QzPm5wDNaVbRaobo9/udrPxi7h8w0uOIcQZd5bgIhANCiXEBZDDECtMtFbun7OiDmwrwCzQFnktZ6lieiJbH4"}],"size":2256,"noattachment":false,"key":"/try-to-tape/-/try-to-tape-1.2.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/try-to-tape_1.2.0_1546963788654_0.6904207548102179"},"_hasShrinkwrap":false,"readme":"# Try to Tape [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMIMGURL]:                https://img.shields.io/npm/v/try-to-tape.svg?style=flat&longCache=true\n[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/try-to-tape/master.svg?style=flat&longCache=true\n[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/try-to-tape.svg?style=flat&longCache=true\n[NPMURL]:                   https://npmjs.org/package/try-to-tape \"npm\"\n[BuildStatusURL]:           https://travis-ci.org/coderaiser/try-to-tape  \"Build Status\"\n[DependencyStatusURL]:      https://david-dm.org/coderaiser/try-to-tape \"Dependency Status\"\n\n[CoverageURL]:              https://coveralls.io/github/coderaiser/try-to-tape?branch=master\n[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/try-to-tape/badge.svg?branch=master&service=github\n\nWrap `tape` `async` functions and show error on reject.\n\n## Install\n\n```\nnpm i try-to-tape\n```\n\n## Example\n\n```js\nconst tryToTape = require('try-to-tape');\nconst tape = tryToTape(require('tape'));\n\ntest('lib: arguments', async (t) => {\n    throw Error('hello');\n    // will call t.fail with an error\n    // will call t.end\n    \n    t.end();\n});\n```\n\n## Related\n\n- [try-catch](https://github.com/coderaiser/try-catch \"TryCatch\") - functional try-catch wrapper.\n- [try-to-catch](https://github.com/coderaiser/try-to-catch \"TryToCatch\") - functional try-catch wrapper for promises.\n\n## License\n\nMIT\n\n","publish_time":1546963788825,"_cnpm_publish_time":1546963788825,"dist-tags":{"latest":"1.2.6"}}