{"_id":"tap-only","_rev":"7-8aab2ed09da68b6867c9033906d7bda2","name":"tap-only","description":"Get exclusive / focus tests for node-tap","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"tap-only","version":"0.0.1","description":"My fabulous module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/tap-only.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bin":{"tap-only":"bin/run-shim.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["tap","only","exclusive"],"peerDependencies":{"tap":"*"},"dependencies":{"fallback-cli":"^2.0.2"},"gitHead":"5002501e2488f2aa0a79b411adb68636468beb17","bugs":{"url":"https://github.com/jamestalmage/tap-only/issues"},"homepage":"https://github.com/jamestalmage/tap-only#readme","_id":"tap-only@0.0.1","_shasum":"b9efcd950631ced5c85315761f7a045c55a07c57","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.2","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"b9efcd950631ced5c85315761f7a045c55a07c57","tarball":"https://registry.npmjs.org/tap-only/-/tap-only-0.0.1.tgz","integrity":"sha512-u/HimPX/iJP+c0wsrdkvXGojEjeZo3Gkp4nifC2Q/iL96oSFPmTlEDSrbx3vE+KSEkKPW9IdIE9+V1KF4NJq7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCB9Oih3AjG5FrqTNRMNEu3lmNZoOZKpU/r/xyRvj8zbwIhAMT3iIdt0qQGtXCtpYmFtvk7bkADRG7BFOB5clalpeya"}]},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}]},"0.0.2":{"name":"tap-only","version":"0.0.2","description":"My fabulous module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/tap-only.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bin":{"tap-only":"bin/run-shim.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","bin/run.js","bin/run-shim.js"],"keywords":["tap","only","exclusive"],"peerDependencies":{"tap":"*"},"dependencies":{"fallback-cli":"^2.0.2"},"gitHead":"50ca08bc1bdc59249de7a5210bf3dd1c26654979","bugs":{"url":"https://github.com/jamestalmage/tap-only/issues"},"homepage":"https://github.com/jamestalmage/tap-only#readme","_id":"tap-only@0.0.2","_shasum":"e3ee7f07f6ff5ffa2bde7a99b92fc83071947055","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.2","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"e3ee7f07f6ff5ffa2bde7a99b92fc83071947055","tarball":"https://registry.npmjs.org/tap-only/-/tap-only-0.0.2.tgz","integrity":"sha512-XBpLGvRSQlZKSchYIsaL9Hzv+N4wWshOgzGmQ1Y82M793RnAvE4YjNYWdytgoBQmB6hPr36uFnc729PS7+zZFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHkPkxJL4FcBAYGl/KZaoUBISie/TKvrzDd9R4BMnroQIgDdYCF6GJ2rmIlwh8BLhvJ6lsr2KtFvAJk6tXQZP9ZCs="}]},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}]},"0.0.3":{"name":"tap-only","version":"0.0.3","description":"My fabulous module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/tap-only.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bin":{"tap-only":"bin/run-shim.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","bin/run.js","bin/run-shim.js"],"keywords":["tap","only","exclusive"],"peerDependencies":{"tap":"*"},"dependencies":{"fallback-cli":"^2.0.2"},"gitHead":"bf505e11fe5d1fda4efcb657f42f47ce1774f145","bugs":{"url":"https://github.com/jamestalmage/tap-only/issues"},"homepage":"https://github.com/jamestalmage/tap-only#readme","_id":"tap-only@0.0.3","_shasum":"124cde8082b409724a3805801ae1e54aa986e893","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.2","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"124cde8082b409724a3805801ae1e54aa986e893","tarball":"https://registry.npmjs.org/tap-only/-/tap-only-0.0.3.tgz","integrity":"sha512-mFf6EnDIMHu049yjmaEwL0O/8whw4OMVrVRAJQZ0eaJ7Vp1WoJwKJhiVxD12SVvS7pISLVf+B12IXP0g5Q4VqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl4p2p0e6TLTEr7VqVvR0wZYr1XxsojRYbXWzSjb5KYAIgT0r2wkdS+S2RTh1VT6vm8oKv1n3sWvrhYWANqdL4aZA="}]},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}]},"0.0.4":{"name":"tap-only","version":"0.0.4","description":"My fabulous module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/tap-only.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bin":{"tap-only":"bin/run-shim.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","bin/run.js","bin/run-shim.js"],"keywords":["tap","only","exclusive"],"peerDependencies":{"tap":"*"},"dependencies":{"fallback-cli":"^2.0.2"},"gitHead":"648ec14c430f157d5e57bb79d863072985836017","bugs":{"url":"https://github.com/jamestalmage/tap-only/issues"},"homepage":"https://github.com/jamestalmage/tap-only#readme","_id":"tap-only@0.0.4","_shasum":"618d11a80f02ef8a561f405351b7f43816a01a38","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.2","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"618d11a80f02ef8a561f405351b7f43816a01a38","tarball":"https://registry.npmjs.org/tap-only/-/tap-only-0.0.4.tgz","integrity":"sha512-JrRApiUHrqUQOpa/E/72wHCsUPd6J6TECwcgki3PuvCzoyS9WlXR6jyJMlh+EbvNu6NJ8louEpw1vcv13Bt+6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFUdH1v8GFSviRmWB219dza0x34q7szXrNcMUmHCDQVQIgbFi2RvbroUGdRA6ZP8YVnlBvPMRtkH/uRcqcgb6+IUk="}]},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}]},"0.0.5":{"name":"tap-only","version":"0.0.5","description":"Get exclusive / focus tests for node-tap","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jamestalmage/tap-only.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bin":{"tap-only":"bin/run-shim.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","bin/run.js","bin/run-shim.js"],"keywords":["tap","only","exclusive"],"peerDependencies":{"tap":"*"},"dependencies":{"fallback-cli":"^2.0.2"},"gitHead":"7fac8753a5d6c378544e2e52d944fed80543321e","bugs":{"url":"https://github.com/jamestalmage/tap-only/issues"},"homepage":"https://github.com/jamestalmage/tap-only#readme","_id":"tap-only@0.0.5","_shasum":"ee99cc0eced0aaa4d55cad428be62be874d9d248","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.2","_npmUser":{"name":"jamestalmage","email":"james@talmage.io"},"dist":{"shasum":"ee99cc0eced0aaa4d55cad428be62be874d9d248","tarball":"https://registry.npmjs.org/tap-only/-/tap-only-0.0.5.tgz","integrity":"sha512-gikfc+lm8XzXDp7/bNP1hBI9brwfB3830nPpg+LMFfgBPT8q/5L20tGzRM4zEPQduElf7b5IanevJUC29Y8qvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqlqBI1WQChb6oNQS+eWPuMBvxhhYHpbfFs9yUwqqp7gIhAIcyVsAWGl78OrsFdb0nCGQ53QKXGFr8j44vNGZ+Iait"}]},"maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}]}},"readme":"# tap-only\n\n> Get exclusive/only/ focus tests for node-tap.\n\n\n## Install\n\n```sh\n$ npm install --save tap tap-only\n```\n\nImport `tap-only` in your tests in place of tap\n\n```js\n// test.js\nvar test = require('tap-only');\n\ntest('test name', function (t) {\n  t.is(...);\n});\n\n// when you want an exclusive test, just do this:\n\ntest.only('test name', function (t) {\n  // ...\n});\n```\n\nRun `tap` like you always do\n\n```sh\n$ tap test/*.js | tap-spec\n```\n\nEnjoy easy exclusive tests.\n\n\n## API\n\nSee [the source](https://github.com/jamestalmage/tap-only/blob/master/index.js) to understand how it works (it's simple).\n\n### test(...) \n\nidentical to tap.test\n\n### test.only(...)\n\nidentical to tap.test, but it disables all tests without the \"only\" modifier\n\n### test.start()\n\nThis will be called automatically for you on the next event loop if not disabled.\nThis tallies up the tests, determines if you are running in exclusive mode or not and calls\n`tap` with the filtered tests.\n\n### test.disableAutoStart()\n\nThis disables the automatic start. You will now be responsible for calling `test.start()` to get things rolling.\n\n\n## License\n\nMIT © [James Talmage](http://github.com/jamestalmage)\n","maintainers":[{"name":"jamestalmage","email":"james@talmage.io"}],"time":{"modified":"2022-06-27T03:50:15.607Z","created":"2015-11-17T12:56:55.656Z","0.0.1":"2015-11-17T12:56:55.656Z","0.0.2":"2015-11-17T13:04:40.306Z","0.0.3":"2015-11-17T13:13:45.458Z","0.0.4":"2015-11-17T13:20:02.260Z","0.0.5":"2015-11-17T13:44:09.490Z"},"homepage":"https://github.com/jamestalmage/tap-only#readme","keywords":["tap","only","exclusive"],"repository":{"type":"git","url":"git+https://github.com/jamestalmage/tap-only.git"},"author":{"name":"James Talmage","email":"james@talmage.io","url":"github.com/jamestalmage"},"bugs":{"url":"https://github.com/jamestalmage/tap-only/issues"},"license":"MIT","readmeFilename":"readme.md"}