{"_id":"@abelmokadem/tap-spec","_rev":"2-fad3dff329422a80f99ebf149a66b112","name":"@abelmokadem/tap-spec","dist-tags":{"latest":"4.2.1"},"versions":{"4.2.1":{"name":"@abelmokadem/tap-spec","version":"4.2.1","description":"Formatted TAP output like Mocha's spec reporter","main":"index.js","scripts":{"test":"echo 'Tests are out of date. Not running until fixed.'"},"repository":{"type":"git","url":"git+https://github.com/abelmokadem/tap-spec.git"},"keywords":["tape","tap","mocha","spec","reporter"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/tap-spec/issues"},"dependencies":{"chalk":"^1.0.0","duplexer":"^0.1.1","figures":"^1.4.0","lodash":"^3.6.0","pretty-ms":"^2.1.0","repeat-string":"^1.5.2","tap-out":"^1.4.1","through2":"^2.0.0"},"bin":{"tspec":"bin/cmd.js","tap-spec":"bin/cmd.js"},"devDependencies":{"tapes":"^2.0.0"},"gitHead":"366326e46ada57f8731c4889840ea43557e87e0b","homepage":"https://github.com/abelmokadem/tap-spec#readme","_id":"@abelmokadem/tap-spec@4.2.1","_npmVersion":"5.7.1","_nodeVersion":"6.10.2","_npmUser":{"name":"abelmokadem","email":"a.belmokadem@gmail.com"},"dist":{"integrity":"sha512-B3lOxst6zfet7wrIv8hFh1Dsqb5quFlblyNp2JMVyO4mv/9jASLbmeGi/UFWHbzudMLWesrPn8XjfOKZIKeuqw==","shasum":"64d534c02108ef74fe2c8aaee86b26323a3ab4b4","tarball":"https://registry.npmjs.org/@abelmokadem/tap-spec/-/tap-spec-4.2.1.tgz","fileCount":11,"unpackedSize":14571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMW+QsmdPRjFxIMIEPlY05Ievk4Uef0raxL8MkIjyo1AiAdaC1gLDT4wi831qhhfPQsvW5AkXRl9nsDy9eh2XfciQ=="}]},"maintainers":[{"name":"abelmokadem","email":"a.belmokadem@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tap-spec_4.2.1_1521104895066_0.1810964255438996"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-15T09:08:15.015Z","4.2.1":"2018-03-15T09:08:15.151Z","modified":"2022-04-04T10:58:59.105Z"},"maintainers":[{"name":"abelmokadem","email":"a.belmokadem@gmail.com"}],"description":"Formatted TAP output like Mocha's spec reporter","homepage":"https://github.com/abelmokadem/tap-spec#readme","keywords":["tape","tap","mocha","spec","reporter"],"repository":{"type":"git","url":"git+https://github.com/abelmokadem/tap-spec.git"},"author":{"name":"Scott Corgan"},"bugs":{"url":"https://github.com/scottcorgan/tap-spec/issues"},"license":"MIT","readme":"# tap-spec [![NPM version](https://img.shields.io/npm/v/tap-spec.svg?style=flat-square)](https://www.npmjs.com/package/tap-spec) [![NPM download count](https://img.shields.io/npm/dm/tap-spec.svg?style=flat-square)](https://www.npmjs.com/package/tap-spec)\n\nFormatted TAP output like Mocha's spec reporter\n\n![iterm - 2 bash - may 29 2015 at 10 17 am screen shot](https://cloud.githubusercontent.com/assets/974723/7888261/03366236-05ec-11e5-9f94-d9c2707526b7.png)\n\n## Install\n\n```\nnpm install tap-spec --save-dev\n```\n\n## Usage\n\n### Streaming\n\n```js\nvar test = require('tape');\nvar tapSpec = require('tap-spec');\n\ntest.createStream()\n  .pipe(tapSpec({\n    hideError: false // optional\n  }))\n  .pipe(process.stdout);\n```\n\n### CLI\n\n**package.json**\n\n```json\n{\n  \"name\": \"module-name\",\n  \"scripts\": {\n    \"test\": \"node ./test/tap-test.js | tap-spec\"\n  }\n}\n```\n\nThen run with `npm test`\n\n**Terminal**\n\n```\ntape test/index.js | node_modules/.bin/tap-spec\n```\n\n**Testling**\n\n```\nnpm install testling -g\ntestling test/index.js | node_modules/.bin/tap-spec\n```\n","readmeFilename":"README.md"}