{"_id":"timed-tape","_rev":"4-9a9de4553dc0ba61b4c842525092a3e8","name":"timed-tape","description":"Prints the time each tape test took","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"timed-tape","version":"0.1.0","description":"Prints the time each tape test took","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/diasdavid/timed-tape.git"},"keywords":["tape","time","measure"],"author":{"name":"David Dias","email":"daviddias@ipfs.io"},"license":"MIT","bugs":{"url":"https://github.com/diasdavid/timed-tape/issues"},"homepage":"https://github.com/diasdavid/timed-tape","gitHead":"4354f8ed53e4f4f50700257487de9557c32f4f1e","_id":"timed-tape@0.1.0","_shasum":"5e88c00fe1475cdaf94d579d5f752c3f12516d7c","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"daviddias","email":"daviddias.p@gmail.com"},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"dist":{"shasum":"5e88c00fe1475cdaf94d579d5f752c3f12516d7c","tarball":"https://registry.npmjs.org/timed-tape/-/timed-tape-0.1.0.tgz","integrity":"sha512-Iveek4yi8zoXq72aHK8wWkG00d1Q9qnnTMPO9vf+6W499LsPzIqvDYhtek8la1K0aPssDM5t4Qo2IY2mk5zNvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETx4Bb3nsJ+4nPisnjEu2ty64MJ/qm7HD3nj1MThLsNAiEAsZpmP2KWaDaI0+Q9G4YN1YdDcbcGC6m6BPFA3knmqMo="}]}},"0.1.1":{"name":"timed-tape","version":"0.1.1","description":"Prints the time each tape test took","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 0"},"repository":{"type":"git","url":"git+https://github.com/diasdavid/timed-tape.git"},"keywords":["tape","time","measure"],"author":{"name":"David Dias","email":"daviddias@ipfs.io"},"license":"MIT","bugs":{"url":"https://github.com/diasdavid/timed-tape/issues"},"homepage":"https://github.com/diasdavid/timed-tape","gitHead":"68dcc5e4f066f6c5b1a4c16c2c778a7f8aad45fe","_id":"timed-tape@0.1.1","_shasum":"9b6e569f17e66c79f1eed2d25ff7962fc7418e49","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.4.4","_npmUser":{"name":"daviddias","email":"daviddias.p@gmail.com"},"dist":{"shasum":"9b6e569f17e66c79f1eed2d25ff7962fc7418e49","tarball":"https://registry.npmjs.org/timed-tape/-/timed-tape-0.1.1.tgz","integrity":"sha512-18Ipz4ovlSOIN+dGD16alrIlLu+LkPnr0xdtC678lsNA4k/s7Jqs2LDJ0q8TRneCbH7HY7m2APpz6an8WvijKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC02jCdUoRX6u90MvOvDNvdB2B1g7M6R+o272BuVdhWzQIgEuMQ8xTgV7pDwczlI7KobF5Vn00j+4b5huX/qvTYq9Y="}]},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/timed-tape-0.1.1.tgz_1472760186223_0.419128421228379"}}},"readme":"timed-tape\n==========\n\n[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)\n\ntimed-tape extends [tape](https://github.com/substack/tape) so that each test prints the time taken.\n\n## API\n\nPass the `tape` module into `timed-tape`:\n\n```js\nvar tape = require('timed-tape')(require('tape'))\n```\n\nThis will return a tape instance that prints the time that each test took.\n\n## Example\n\n```js\nvar test = require('timed-tape')(require('tape'));\n\ntest('Check addition', t => {\n  t.equal(1 + 1, 2, 'one plus one is two');\n  t.end();\n});\n\ntest('Check multiplication', t => {\n  t.equal(1 * 1, 1, 'one times one is one');\n  t.end();\n});\n```\n\nResulting output:\n\n```bash\n$ node mytest.js\nTAP version 13\n# Check addition\nok 1 one plus one is two\n# time: 17 ms\n# Check multiplication\nok 2 one times one is one\n# time: 17 ms\n\n1..2\n# tests 2\n# pass  2\n\n# ok\n```\n","maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"time":{"modified":"2022-06-27T06:46:39.016Z","created":"2015-07-22T19:52:14.717Z","0.1.0":"2015-07-22T19:52:14.717Z","0.1.1":"2016-09-01T20:03:08.103Z"},"homepage":"https://github.com/diasdavid/timed-tape","keywords":["tape","time","measure"],"repository":{"type":"git","url":"git+https://github.com/diasdavid/timed-tape.git"},"author":{"name":"David Dias","email":"daviddias@ipfs.io"},"bugs":{"url":"https://github.com/diasdavid/timed-tape/issues"},"license":"MIT","readmeFilename":"README.md"}