{"_id":"taper","_rev":"1655925","name":"taper","description":"Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.","dist-tags":{"latest":"0.5.0"},"maintainers":[{"name":"nylen","email":"jnylen@gmail.com"}],"time":{"modified":"2026-10-30T19:36:08.000Z","created":"2014-10-04T10:13:26.655Z","0.5.0":"2015-03-21T22:12:18.506Z","0.4.0":"2015-01-24T01:32:42.901Z","0.3.0":"2014-10-20T23:17:51.177Z","0.2.1":"2014-10-06T21:33:34.629Z","0.2.0":"2014-10-04T10:13:26.655Z"},"users":{"wfalkwallace":true},"author":{"name":"James Nylen","email":"jnylen@gmail.com"},"repository":{"type":"git","url":"https://github.com/nylen/taper.git"},"versions":{"0.5.0":{"name":"taper","description":"Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.","version":"0.5.0","author":{"name":"James Nylen","email":"jnylen@gmail.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},{"name":"Jeff Barczewski","email":"jeff.barczewski@gmail.com","url":"https://github.com/jeffbski"},{"name":"James Nylen","email":"jnylen@gmail.com","url":"https://github.com/nylen"}],"repository":{"type":"git","url":"https://github.com/nylen/taper.git"},"bugs":{"url":"https://github.com/nylen/taper/issues"},"licenses":[{"type":"MIT","url":"https://github.com/nylen/taper/raw/master/LICENSE"}],"main":"lib/taper","bin":{"taper":"bin/taper.js"},"engines":{"node":"*"},"dependencies":{"cli-color":"~0.1.4","minimist":"~1.1.0","inherits":"~1.0.0","slide":"~1.1.3","split":"~0.3.2","sprintf":"~0.1.1","tap":"~0.1.2","yamlish":"~0.0.2"},"devDependencies":{"concat-stream":"~1.4.6","tape":"~3.0.1"},"scripts":{"test":"node test/lib/run-tests.js"},"directories":{"lib":"./lib","test":"./test"},"keywords":["assert","test","tap","runner","color"],"gitHead":"4c6496da1bd4ac276bec3180adecf02a6a7838c7","homepage":"https://github.com/nylen/taper","_id":"taper@0.5.0","_shasum":"a586743cd9eb30c067c8b38ffb457f78e81b2ff3","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"nylen","email":"jnylen@gmail.com"},"maintainers":[{"name":"nylen","email":"jnylen@gmail.com"}],"dist":{"shasum":"a586743cd9eb30c067c8b38ffb457f78e81b2ff3","tarball":"http://registry-npm.ywwl.com/taper/download/taper-0.5.0.tgz","integrity":"sha512-QuP02iq4eRX87fG8mv8kuTet6rQYHaEMBWqB48y6VA1DATDvnuDsuSgYO5wdNPIxeyq8pVU9lqhv8n5ykzrWVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf019S12yLy88p2tHNKhD1MuI7w8uUMB5w2XXOPaY7DQIgSOiABT0J4tL2Grc1UwOHFkucGe4aRDrTFnltXiveuAI="}],"size":259692,"noattachment":false,"key":"/taper/-/taper-0.5.0.tgz"},"publish_time":1426975938506,"_cnpm_publish_time":1426975938506},"0.4.0":{"name":"taper","description":"Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.","version":"0.4.0","author":{"name":"James Nylen","email":"jnylen@gmail.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},{"name":"Jeff Barczewski","email":"jeff.barczewski@gmail.com","url":"https://github.com/jeffbski"},{"name":"James Nylen","email":"jnylen@gmail.com","url":"https://github.com/nylen"}],"repository":{"type":"git","url":"https://github.com/nylen/taper.git"},"bugs":{"url":"https://github.com/nylen/taper/issues"},"licenses":[{"type":"MIT","url":"https://github.com/nylen/taper/raw/master/LICENSE"}],"main":"lib/taper","bin":{"taper":"bin/taper.js"},"engines":{"node":"*"},"dependencies":{"cli-color":"~0.1.4","commander":"~0.5.0","inherits":"~1.0.0","slide":"~1.1.3","split":"~0.3.2","sprintf":"~0.1.1","tap":"~0.1.2","yamlish":"~0.0.2"},"devDependencies":{"concat-stream":"~1.4.6","tape":"~3.0.1"},"scripts":{"test":"node test/lib/run-tests.js"},"directories":{"lib":"./lib","test":"./test"},"keywords":["assert","test","tap","runner","color"],"_id":"taper@0.4.0","dist":{"shasum":"724a042d13397a923f548cb7a053e98c9611afcd","tarball":"http://registry-npm.ywwl.com/taper/download/taper-0.4.0.tgz","integrity":"sha512-dwfgHXF8b74Xo3nLE2GazwvBebEGcaqY2a6URNbINTp18cZWufwGRJeAm/fJ0wpjMn7d+nXljz4eiZvvUpU/cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdBGwA+Jrs3X0+VIzIeaqHgxuo16JTAASsN07CEW23UAiEA4wZsIkxFKPf7baIlxqfIBHVoBihhK6Qdfsb1gDVGLvQ="}],"size":253741,"noattachment":false,"key":"/taper/-/taper-0.4.0.tgz"},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"nylen","email":"jnylen@gmail.com"},"maintainers":[{"name":"nylen","email":"jnylen@gmail.com"}],"publish_time":1422063162901,"_cnpm_publish_time":1422063162901},"0.3.0":{"name":"taper","description":"Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.","version":"0.3.0","author":{"name":"James Nylen","email":"jnylen@gmail.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},{"name":"Jeff Barczewski","email":"jeff.barczewski@gmail.com","url":"https://github.com/jeffbski"},{"name":"James Nylen","email":"jnylen@gmail.com","url":"https://github.com/nylen"}],"repository":{"type":"git","url":"https://github.com/nylen/taper.git"},"bugs":{"url":"https://github.com/nylen/taper/issues"},"licenses":[{"type":"MIT","url":"https://github.com/nylen/taper/raw/master/LICENSE"}],"main":"lib/taper","bin":{"taper":"bin/taper.js"},"engines":{"node":"*"},"dependencies":{"cli-color":"~0.1.4","sprintf":"~0.1.1","tap":"~0.1.2","inherits":"~1.0.0","yamlish":"~0.0.2","slide":"~1.1.3","commander":"~0.5.0"},"devDependencies":{"concat-stream":"~1.4.6","tape":"~3.0.1","semver":"~4.1.0"},"scripts":{"test":"node test/lib/run-tests.js"},"directories":{"lib":"./lib","test":"./test"},"keywords":["assert","test","tap","runner","color"],"gitHead":"4d3981efdb3fcb76654cca01f82e6862af852a3d","homepage":"https://github.com/nylen/taper","_id":"taper@0.3.0","_shasum":"499d7e1ab838a7c5c344755443419faca69febdd","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"nylen","email":"jnylen@gmail.com"},"maintainers":[{"name":"nylen","email":"jnylen@gmail.com"}],"dist":{"shasum":"499d7e1ab838a7c5c344755443419faca69febdd","tarball":"http://registry-npm.ywwl.com/taper/download/taper-0.3.0.tgz","integrity":"sha512-FSZgTm7JWFJdlIPycTzrAtQkns0OnEWAjiAD+GcyQQ81NkzbIJBcr/Nm5M4HkqM9EtG8IF5ZvZDQs+INzbCTWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPcywBAes4SIM98WCJpYE9HXu1oeGwfyp0boADYCJ3XAiEAwW1LmT7fPz4s7KFpaRMHgjFiNaVAVBLwdYHj97vSA7E="}],"size":258755,"noattachment":false,"key":"/taper/-/taper-0.3.0.tgz"},"publish_time":1413847071177,"_cnpm_publish_time":1413847071177},"0.2.1":{"name":"taper","description":"Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.","version":"0.2.1","author":{"name":"James Nylen","email":"jnylen@gmail.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},{"name":"Jeff Barczewski","email":"jeff.barczewski@gmail.com","url":"https://github.com/jeffbski"},{"name":"James Nylen","email":"jnylen@gmail.com","url":"https://github.com/nylen"}],"repository":{"type":"git","url":"https://github.com/nylen/taper.git"},"bugs":{"url":"https://github.com/nylen/taper/issues"},"licenses":[{"type":"MIT","url":"https://github.com/nylen/taper/raw/master/LICENSE"}],"main":"lib/taper","bin":{"taper":"bin/taper.js"},"engines":{"node":"*"},"dependencies":{"cli-color":"~0.1.4","sprintf":"~0.1.1","tap":"~0.1.2","inherits":"~1.0.0","yamlish":"~0.0.2","slide":"~1.1.3","commander":"~0.5.0"},"devDependencies":{},"scripts":{"test":"bin/taper.js --timeout 1000 test"},"directories":{"lib":"./lib","test":"./test"},"keywords":["assert","test","tap","runner","color"],"gitHead":"35b163ea82ea20330176ff579a8f0a1e321143e3","homepage":"https://github.com/nylen/taper","_id":"taper@0.2.1","_shasum":"0cb522c55684bfbac407e5294f72977e818602bd","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"nylen","email":"jnylen@gmail.com"},"maintainers":[{"name":"nylen","email":"jnylen@gmail.com"}],"dist":{"shasum":"0cb522c55684bfbac407e5294f72977e818602bd","tarball":"http://registry-npm.ywwl.com/taper/download/taper-0.2.1.tgz","integrity":"sha512-BWNFRRIB4lELHiCTEHz61VniN8hBWx7sJ+sgrDvaoBxOWSINEMYphy9QSBWoTl1rLXiY9O3kmBVMm0EWa9jV0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDxKpGAUazVtxo5TATuJCslG/2f2c9bhZoIkc1nIDgmAiBTZY2Lz7GOUhLNSYlALrzjyycmabHUMcZi9hAdRP2EaA=="}],"size":255372,"noattachment":false,"key":"/taper/-/taper-0.2.1.tgz"},"publish_time":1412631214629,"_cnpm_publish_time":1412631214629},"0.2.0":{"name":"taper","description":"Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.","version":"0.2.0","author":{"name":"James Nylen","email":"jnylen@gmail.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},{"name":"Jeff Barczewski","email":"jeff.barczewski@gmail.com","url":"https://github.com/jeffbski"},{"name":"James Nylen","email":"jnylen@gmail.com","url":"https://github.com/nylen"}],"repository":{"type":"git","url":"https://github.com/nylen/taper.git"},"bugs":{"url":"https://github.com/nylen/taper/issues"},"licenses":[{"type":"MIT","url":"https://github.com/nylen/taper/raw/master/LICENSE"}],"main":"lib/taper","bin":{"taper":"bin/taper.js"},"engines":{"node":"*"},"dependencies":{"cli-color":"~0.1.4","sprintf":"~0.1.1","tap":"~0.1.2","inherits":"~1.0.0","yamlish":"~0.0.2","slide":"~1.1.3","commander":"~0.5.0"},"devDependencies":{},"scripts":{"test":"bin/taper.js --timeout 1000 test"},"directories":{"lib":"./lib","test":"./test"},"keywords":["assert","test","tap","runner","color"],"gitHead":"778ad781c8b796265f1239382b93053acdd3ee22","homepage":"https://github.com/nylen/taper","_id":"taper@0.2.0","_shasum":"fb0b4989b671f9cadfd318b196dc5957e2f93baa","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"nylen","email":"jnylen@gmail.com"},"maintainers":[{"name":"nylen","email":"jnylen@gmail.com"}],"dist":{"shasum":"fb0b4989b671f9cadfd318b196dc5957e2f93baa","tarball":"http://registry-npm.ywwl.com/taper/download/taper-0.2.0.tgz","integrity":"sha512-3Uod8M8L3UkHwuT2Lt9oTWttKpKZm8PGxfI5w7awfDwWC3YkObX9quNhAYaivdmynCrEmJbMAHxYj/kjbOvGwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtEAp2QiGojG+0ZM2e+M3d0EsZkTBTtrLT15SLsIR+rAiEAjcDoL/hezivvt7Vo4FRZjC3RB6NrlHDAheqc5ZWJeAg="}],"size":255736,"noattachment":false,"key":"/taper/-/taper-0.2.0.tgz"},"publish_time":1412417606655,"_cnpm_publish_time":1412417606655}},"readme":"# taper [![Build status](https://img.shields.io/travis/nylen/taper.svg?style=flat)](https://travis-ci.org/nylen/taper) [![npm package](http://img.shields.io/npm/v/taper.svg?style=flat)](https://www.npmjs.org/package/taper)\n\nTaper (a fork of [`tapr`](https://github.com/jeffbski/tapper)) is a Node.js tap\ntest runner which allows stdout and stderr mixed in with the tap output. Also\ntaper adds color to the output. Core based on Isaac Z Schlueter original tap\nrunner.\n\nFor a nice description of Node.js Tap tests, see Isaac's readme on the\n[`node-tap` github page](https://github.com/isaacs/node-tap).\n\nIsaac designed his Tap implementation to be modular for easy consumation and\nextension. Taper customizes the runner component and uses the rest of node-tap\nas is.\n\nBecause Tap is modular, it is designed to be consumed in many ways (like\nautomated build tools, customized runners) and other testing frameworks can\nprovide producers to provide tap input.\n\n\n\n## Goals\n\n - More concise formatting of tap output (easier to find what you care about)\n - Improve ability to write to stdout and stderr from tests or code\n - Add optional colorized output\n\n## Installing\n\n```bash\nnpm install taper  # install locally\n# OR\nnpm install -g taper  # install globally\n```\n\n**OR**\n\nAdd to your project package.json:\n\n```javascript\n\"devDependencies\" : {\n  \"taper\" : \"~0.2.0\"\n}\n```\n\nAlso you will want to add a tap reporter as a `devDependency` to use in your\ntests.  Try [`tap`](https://github.com/isaacs/node-tap) or\n[`tape`](https://github.com/substack/tape).\n\nThen `npm install` your package with dev dependencies from the project\ndirectory:\n\n```bash\nnpm install\n```\n\n## Usage\n\n```bash\n  node_modules/.bin/taper.js fileOrDir   # if installed locally\n  #OR\n  taper fileOrDir  # if installed globally\n  #\n  taper                                     # display usage\n  taper --help                         # display usage\n  taper --version                    # display version\n  taper --no-color fileOrDir   # run without color output\n```\n\n## Screenshots\n\n### Successful example where all tests are passing\n\nStderr and stdout is muted except for files which have a failing test\n\n![success-taper](https://raw.githubusercontent.com/nylen/taper/master/doc/success-taper.png)\n\n### Failure example with some failures and stdout\n\n - Green - successful tests and files\n - Red - failed tests and files\n - Blue - test names\n\n![failed-taper](https://raw.githubusercontent.com/nylen/taper/master/doc/failed-taper.png)\n\n### Original tap runner success\n\n![success-tap](https://raw.githubusercontent.com/nylen/taper/master/doc/success-tap.png)\n\n### Original tap runner failure\n\n![failed-tap](https://raw.githubusercontent.com/nylen/taper/master/doc/failed-tap.png)\n\n## Limitations\n\n - stdout logging that looks like tap output (ok, not ok, #) will not be\n   displayed unless errors in file, however all stderr logging will be\n   displayed regardless so it is recommended.\n - stdout/stderr appears before the test names and asserts due to how tap\n   currently outputs data\n - Asserts are summarized at the bottom\n\n## License\n\n - [MIT license](https://raw.githubusercontent.com/nylen/taper/master/LICENSE)\n\n## Contributors\n\n - Original code Isaac Z. Schlueter <i@izs.me> http://blog.izs.me\n - [`tapr`](https://github.com/jeffbski/tappper) by author: Jeff Barczewski (@jeffbski)\n - James Nylen (@nylen)\n\n## Contributing\n\n - Source code repository: https://github.com/nylen/taper\n - Ideas and pull requests are encouraged  - https://github.com/nylen/taper/issues\n","_attachments":{},"homepage":"https://github.com/nylen/taper","bugs":{"url":"https://github.com/nylen/taper/issues"}}