{"_id":"tape-cluster","_rev":"1736905","name":"tape-cluster","description":"A helper to run tests against a cluster","dist-tags":{"latest":"3.2.1"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"time":{"modified":"2026-11-16T05:44:16.000Z","created":"2015-05-24T01:46:23.630Z","3.2.1":"2019-06-27T11:25:28.019Z","3.2.0":"2019-06-20T16:16:17.122Z","3.1.0":"2019-04-10T16:22:17.207Z","3.0.0":"2019-03-11T15:55:12.219Z","2.1.2":"2016-04-09T23:28:45.167Z","2.1.1":"2016-04-09T23:07:03.706Z","2.1.0":"2015-06-05T19:15:22.474Z","2.0.1":"2015-06-01T21:47:36.092Z","2.0.0":"2015-05-24T01:46:23.630Z"},"users":{"dzhou777":true},"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"versions":{"3.2.1":{"name":"tape-cluster","version":"3.2.1","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","nyc":"^14.1.1","opn":"^1.0.1","request":"2.55.0","standardx":"^3.0.1","tap":"^12.6.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"eslintConfig":{"rules":{"indent":["error",4]}},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"standardx","cover":"nyc --report html --print detail -- tap test/*.js && npm run check-cover -s","check-cover":"nyc check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && nyc report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"5ade55a8f7036fd6854853e8b6cc8badae0f2fec","_id":"tape-cluster@3.2.1","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-G9JyI6xi78w6ATZaRCxTKCY+0ZZXM/jptgj2cZhGiqnDHT8rtc4v0cTb7lk2AQ8xURYCdi60dEohhcgCdlYNig==","shasum":"7823a060431f7fce31397eab6b4e7bfa9c16e7fa","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-3.2.1.tgz","fileCount":16,"unpackedSize":46372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFKeoCRA9TVsSAnZWagAAwYUP/3D4JWMtPnLhpWO+6aFu\na3qeI5aG9d9545h+OO4F27YY9r6ENsWL+O/Q3g73UvIieixf6qQH0oQb75Ri\nNXB0hy/0XkNeVKrJtFLtWdUJ2Fi67g6uEZFvD8d8Rc+FoKRYEtlop3aTYEUw\n2nmk0LDJdwu4I35TZcbVNjchOPQsK9z8Zei6+eKsjoVYk/eErVUI2dZGqEPl\n+k37VjIYBKzi/AxOz4csvH1eO/1T55PSrt/WPhqSovk4HhWUGXIRwyf0m7/4\nRuGkewLCLE7vzFuBT3ajDpbFoibBVDvVC7Cn0Qsvcug+pkMvaFMqjWnED2+X\norAvW8ZhKuIojSk0Tj19Y0R/Rnt0VCU/noorRgEmMzNL9nVyQU8x5VpiahCR\nDVSXliMsZSjGo/tWV61Ky8GbY1ZIQM/EPNS+crkyY+ed7eBIYAcQk+kzwzxq\nbLDZpBkZNI9knweQdf0IPQYpTNSloOEgtYJemwCaWNP8VrmpqcNQuChRK7cC\nj26H5EBGUohqd+wVXgqmrwEFYpHMDnxkhYbSYI8xcFWOBKWM9g+7cvZqOxe0\nx6e0TCzTibyPZUARG6VUthe4SO4EBrEYR8adN4b0GPuHSSj7LNvWT5DBnPyC\ngnjojhOMqJ9fWN84XVaTcxei53PhVSuydzaQLxkG8mBnzBJTbsG6lR0EZYg7\npXsJ\r\n=cmA/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDITUeebDq2/pspTCunDGx+0K5OiyE71GB1ZMvL1rOzBQIhAN03ovSJQKoBfIr4KVx0uqSXCa1OIhozHzB/+82Kqkle"}],"size":8515,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-3.2.1.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tape-cluster_3.2.1_1561634727850_0.8267186744333974"},"_hasShrinkwrap":false,"publish_time":1561634728019,"_cnpm_publish_time":1561634728019},"3.2.0":{"name":"tape-cluster","version":"3.2.0","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","nyc":"^14.1.1","opn":"^1.0.1","request":"2.55.0","standardx":"^3.0.1","tap":"^12.6.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"eslintConfig":{"rules":{"indent":["error",4]}},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"standardx","cover":"nyc --report html --print detail -- tap test/*.js && npm run check-cover -s","check-cover":"nyc check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && nyc report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"1a3e1dd3b0c2f120c88b646562374af32d068393","_id":"tape-cluster@3.2.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-pR63f58YI3cUdRlQsc66SG+UAKVEBj3ie5Dn3xRC5jNi1al+f+vfM+NxCrPVUY/5De1f966NEJmzPei16ItBCQ==","shasum":"3dcd45309bb5421dac7dadc9013f40aeae6b7672","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-3.2.0.tgz","fileCount":10,"unpackedSize":23447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC7FRCRA9TVsSAnZWagAARowP/1vQS9Df3Ch8Pai/n7DZ\nOPYh5DuRcQhCmIq+mphCfWeyMp5QBEQVTfE4vDoVEi89icU8nNnDynF/ULrz\nOQnW2w2s1CbKG08XLM7z7IddZvPUKbvQyPBI0twgbjDLitW6kvBLt7XO/7gA\nZ6M/23LYH1BmaPRl0i5wOZgFpHDmFJbwe0Ki0auAteznkd1OExg/Jd7erOvV\n1oiGQAMbSl/DCCJN8TXpPAP+TYkgNiZwkXLCrEFj2ZrkzlA4JpYk2kuloiZ0\nKmUg0ZMT216UGQQVYY8jdNuEn2zT1TPAU+hsM03hZszEKHD1fJUo9zPDCgO2\noeviiXa6PzPFxtrYh9T3NxB0w8omiIP3kNYTgw2aKj6cOfOBdlD1fFZ4GvtR\n0rVDJ7kbPvw9LOmRB9gEbwD+IMI7Fs88syqOe6/rKYjLDpb15CweTdEt2n44\nxE0TP5mVGrqejx/D0uZkegXXyMuuBzJFjlv2mSITUYYVWneowQAH2Z1pCA3d\n2d1hjijDpVfr4gstsqkXP0+zNLgznYWEMkvOWMuOnPgJQoYyiZHLsOf++QVR\nXEQj3A9F/ak0yPt5cgL8q63AfZZZSgIHfI814n+KeSzqVTDv5vpIj+yUay55\nr4HBB/TmlIxHz0IE3E9rTRGv4G6KdyBoZxO9EAHn9gwksLciBE/pGaD7AvbD\ngwGc\r\n=mZ7p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDv9UC94wZlSZfCCAiqifTqhL7S0u6HeMtWolclbLy8AiAMakWs+4don3wHp6p5B8nSbhRkw2yW3h8IPO4tUIDthA=="}],"size":5985,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-3.2.0.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tape-cluster_3.2.0_1561047377019_0.6402784576552476"},"_hasShrinkwrap":false,"publish_time":1561047377122,"_cnpm_publish_time":1561047377122},"3.1.0":{"name":"tape-cluster","version":"3.1.0","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","opn":"^1.0.1","request":"2.55.0","standardx":"^3.0.1","tap":"^12.6.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"eslintConfig":{"rules":{"indent":["error",4]}},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"standardx","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"92ab815e9af7947ea4d81b8cb7f4d195cfd243ea","_id":"tape-cluster@3.1.0","_npmVersion":"5.3.0","_nodeVersion":"10.15.3","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"dist":{"integrity":"sha512-XsiRSZQgnPZQOCofRCaA5L/3FI+ar106SU0uZYdr5XPMBHAOantNq8SBwPPY6AktrEVuvhMaHMTUa2LGi0aujw==","shasum":"8ba7e66fafd5878541202d3c8f49132f387aacdc","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-3.1.0.tgz","fileCount":8,"unpackedSize":22973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrhg5CRA9TVsSAnZWagAAs34P/R9S4xj1IEaHKrqflVS0\nLHLzrlXj1tNmlirUBlhUVeokeFHVzjcJL2zc4zbo+0tLhY+zdc5GuY1eZHFX\n/Ac/Ib5GWeEtUuyKoVJNiC+tWRVuESuSYc5r11BAm8xy7Y3mW8ZbUkPnsvYV\nkUsgT6pDQEzGorSDwB0uKZeGvSmyDiPPJU9piduuwCfxonZOUs5OXU3p7xbL\nkFpiafGnQMFESZ9mhGgw7TOxXjLS0RAlvtqsDvw4u9iy02RXOWL+a0AiNxo3\na/q9jAqmw8TZmp4yWes3IRaKWSVUOmTOn8JCxsjUZemcYaFLCYnUa0oJhPHo\nirGOSK/wznPpb1pqrhCzb6Pbdl5d3Kxd6pOS+o8psr+bOUvXyfbGr7yETJ0a\njavetj5gwszpOeAlOqLL6zYCU8YeUr48H1dwsZY8o277atTDffmgaMIQJq9R\n0S0atPPN7twgzNzVpb+VvXp+eqQ9iNaHeM7WpWvqVh8PkPRsHEmeoH+7m9Vq\nlQ9xAOCtXjKC8tkk4jEtnhujxqGD8UWumz2NMd5zE34XEyOjIu750o40wWV+\nwaQU7FKSx3beNsilL4ZwuMcaJ4MJY1zmr+lzffXKRlCGOgLP6Dw1yPOXqvx3\nayfENitPWmuByTE+3MQr6W4ESUP1VN4j0Nt+4nv6JZyf2nV7FgGAwvt7X9+T\nQE6D\r\n=JZwW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqcN3or+bOce+yZG+7zZZJg+lMosSButQp5AmnoFSIAwIgZjfJUdcHLOpy7yDXo6qNhnW36JzS/b9c0knEAd0cdb4="}],"size":5429,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-3.1.0.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tape-cluster_3.1.0_1554913337023_0.7098900617137376"},"_hasShrinkwrap":false,"publish_time":1554913337207,"_cnpm_publish_time":1554913337207},"3.0.0":{"name":"tape-cluster","version":"3.0.0","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","opn":"^1.0.1","request":"2.55.0","standardx":"^3.0.1","tap":"^12.6.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"eslintConfig":{"rules":{"indent":["error",4]}},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"standardx","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"445061f4d26cf37b9f1efe3604dd2712334cb95d","_id":"tape-cluster@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"dist":{"integrity":"sha512-Uz0G92KFA2F16+tpjMKJ4JZ5FBsSwOPcH5A5BHro2vkVqjKNLOuiYtbBw8fjlDBlWZImu8Nv6J9O5fidYj5flg==","shasum":"d50aeba40f2fabf8fcdfa1340ef42da28b1286db","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-3.0.0.tgz","fileCount":7,"unpackedSize":16394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchoTgCRA9TVsSAnZWagAA734P/29Gn2bNz/oTaBLYDXlP\n7VcUOvTINu0chHVzeOkh1iKH/EwjOpMSvUitBxQy7G4x2ws/AdLKLbVVkeJA\nv55/FNb+a0QtNwq/LY8LUxeKBCYBiFs/T6kHrieN24Va5TmH5VbYRckEnXzi\n6E1zWzxajzHeLGTb5Si99r6jlC0kBvRYzBXh0mWJ6CjDWyWFz+b1tFQxfi7z\nR1ABRooGl20yP5BBtsoCx2q0cNMXyJJtmHqbjQ+g7MhDgZgSZEPh9zSPSPAA\nOhtzI5AiyjIM1T1avq/9xlYglZ/U7BM0uXN6fX7OYDQfp8AG8FcWuptjg8J+\n9XRWbs1bHeZNlhgacH0EfT3keTIOFU660mdjg5l2LK+3kcRSwzr0lmXCwRaw\nnmPR3rYEJk1UtqIcljb/s+3nWdgiExEPaSE8Dk2z3IJQ6dJITsaBI2nKss11\nipMuLryTZoAppOollI72yBN6Bhqj0vw/sBxz1PKqddH7BO7dH6+ooK0MkbfG\nB4xm4QouEi1vWo2kyE4vvcbOPD5aN9dGnn122eT0WUaVnoB93AhvcaXOhqig\nLCGTOoTznlMG/cWGeNmi4vcBKf7nc9qOoD9EJN/LXGMAI1kCfbNetKlZYBaf\neOjSO7G2rBI19RuI0Ul7R/WCTTeg08JF0qiIuIhCOSrAuN1uRKC2gmkm1PAg\nXBUx\r\n=iP4B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9xlRoNTM/xQnj7gYGjvGEeo1N501s+xYnJFhtJCyCmQIgJ2pCmF+aA+8zkPfB3OtYVsvgy9iY80ardEt1i35K5ps="}],"size":4244,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-3.0.0.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tape-cluster_3.0.0_1552319712069_0.8156514969066133"},"_hasShrinkwrap":false,"publish_time":1552319712219,"_cnpm_publish_time":1552319712219},"2.1.2":{"name":"tape-cluster","version":"2.1.2","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","lint-trap":"^1.0.0","opn":"^1.0.1","request":"2.55.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"lint-trap .","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"ec8943b7143993a0e31362e22aea30285d06da5e","_id":"tape-cluster@2.1.2","_shasum":"e731b67ec01ec61003f2516571fac8787d775eaa","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.32","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"dist":{"shasum":"e731b67ec01ec61003f2516571fac8787d775eaa","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-2.1.2.tgz","integrity":"sha512-bGd6RWmy5Wpm06JAuII9wiDiLHk9DHY5fxHkEiY8HvKXHJgzOZWgANL4pCwGDU3CTeNgyOr4H7IHqnW96kkNbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1s6Z9KPv5q0ZaWCQMY6/qavFxxdn5gYAgOr8FFATYXgIhAId0SAZV/WIWCoVGE7KGuQLW6Ne4j3AUOr7hZTJrk1s9"}],"size":3590,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-2.1.2.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/tape-cluster-2.1.2.tgz_1460244522946_0.8966603965964168"},"directories":{},"publish_time":1460244525167,"_cnpm_publish_time":1460244525167},"2.1.1":{"name":"tape-cluster","version":"2.1.1","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","lint-trap":"^1.0.0","opn":"^1.0.1","request":"2.55.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"lint-trap .","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"1a249ccc6f00d033cd36c361b02b566501826358","_id":"tape-cluster@2.1.1","_shasum":"cf0e281a1fffb5de664d4e9d5508c8763c6c40ea","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.32","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"dist":{"shasum":"cf0e281a1fffb5de664d4e9d5508c8763c6c40ea","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-2.1.1.tgz","integrity":"sha512-4g1wx4mmn19/+2/pfuVmr6otzAcUWX9Jhy59zOZmcjjP2RThiBdIsTwhdcOt1eaX7LEuiXqztX408EA0HkNUnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+O6BvV807GfzY9arnt+oRtSBg7GDDZMWXmAo+X0xcSQIhAPNLLW0XQtofIZtSibRM5OI21ZOy29kRugJKpKm1Ug8a"}],"size":3589,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-2.1.1.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/tape-cluster-2.1.1.tgz_1460243221172_0.4485889656934887"},"directories":{},"publish_time":1460243223706,"_cnpm_publish_time":1460243223706},"2.1.0":{"name":"tape-cluster","version":"2.1.0","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","lint-trap":"^1.0.0","opn":"^1.0.1","request":"2.55.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"lint-trap .","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"75a0230cae8d5f448b5e928feaabdf1855acae79","_id":"tape-cluster@2.1.0","_shasum":"0be141b83374f5f5d25f8c307cbe3916b7dc47fe","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.32","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"dist":{"shasum":"0be141b83374f5f5d25f8c307cbe3916b7dc47fe","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-2.1.0.tgz","integrity":"sha512-nASxxLV0dujKwdRFLxeQHM3AH6SXL9EfzSsVLUWs4qG+QX7eUBQ6Y93+ihFOCt0lx2VEY0SAQVmyMqx4Q2vVBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOC1H+yTnnIptIlUXRnXP50VFu9DIQXxOvKTMFt5rj+AiEA4fSSipaRvt9ekiFglZLIbIElkPmPS4DyrTurNYOxCok="}],"size":3511,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-2.1.0.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"publish_time":1433531722474,"_cnpm_publish_time":1433531722474},"2.0.1":{"name":"tape-cluster","version":"2.0.1","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","lint-trap":"^1.0.0","opn":"^1.0.1","request":"2.55.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"lint-trap .","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"48910fcb1ba5ef2742eaf4bd7f44806c942f68dd","_id":"tape-cluster@2.0.1","_shasum":"b3c2f3ccea0639c114fc09d612d3f8dfd47fe7db","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.32","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"dist":{"shasum":"b3c2f3ccea0639c114fc09d612d3f8dfd47fe7db","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-2.0.1.tgz","integrity":"sha512-jSFTVXnpcNZbCUehR2OdyPyjOToWd+c1F2LpBT9o4mf8smh7kC6+RUjqPjicFIPyntXsjt6PalWsEU0rGHNOLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDtWZ2Fh9suXb/R6n9Ul6hqjEgNiKSvFm5kQJXj2USuAiAeptBRGnS+OlyL0sgq1Xv73JSuD02m0t9BKFvFs3Osvg=="}],"size":3492,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-2.0.1.tgz"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"directories":{},"publish_time":1433195256092,"_cnpm_publish_time":1433195256092},"2.0.0":{"name":"tape-cluster","version":"2.0.0","description":"A helper to run tests against a cluster","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"repository":{"type":"git","url":"git://github.com/Raynos/tape-cluster.git"},"main":"index","homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"},"contributors":[{"name":"Raynos"}],"dependencies":{},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.3.5","lint-trap":"^1.0.0","opn":"^1.0.1","request":"2.55.0","tap-spec":"^2.1.1","tape":"^3.4.0"},"licenses":[{"type":"MIT","url":"http://github.com/Raynos/tape-cluster/raw/master/LICENSE"}],"scripts":{"test":"npm run jshint -s && npm run cover -s","unit-test":"node test/index.js | tap-spec","jshint":"lint-trap .","cover":"istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s","check-cover":"istanbul check-coverage --branches=100 --lines=100 --functions=100","view-cover":"opn ./coverage/index.html","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"},"engine":{"node":">= 0.8.x"},"pre-commit":["test"],"pre-commit.silent":true,"ngen-version":"5.1.0","gitHead":"94cb8e03d5bf047de6fec35a09937021588d91de","_id":"tape-cluster@2.0.0","_shasum":"8b98faab8a01292ee00366fa138cd5ffe4e4cd96","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.32","_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"dist":{"shasum":"8b98faab8a01292ee00366fa138cd5ffe4e4cd96","tarball":"http://registry-npm.ywwl.com/tape-cluster/download/tape-cluster-2.0.0.tgz","integrity":"sha512-5NLEDaQ3aeP6hYDSCgoat1S6NAq2nrKOVLqPO85k6ep+uIRGDk88qJr0DBMKLUZ8IM2dQPrXll7dBqXpoQhHrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi6DpgzdCHmuiCIbj9DlMisxoKJWP2/eNlePrv85cSMAIgXBEjBddNk8+mzO/i61N2WY52KybEz3DWBVvYSPmZiEo="}],"size":3500,"noattachment":false,"key":"/tape-cluster/-/tape-cluster-2.0.0.tgz"},"directories":{},"publish_time":1432431983630,"_cnpm_publish_time":1432431983630}},"readme":"# tape-cluster\n\n<!--\n    [![build status][build-png]][build]\n    [![Coverage Status][cover-png]][cover]\n    [![Davis Dependency status][dep-png]][dep]\n-->\n\n<!-- [![NPM][npm-png]][npm] -->\n\nA helper to run integration tests against an application\n\n## Motivation\n\nWhen writing integration tests against a service you generally\nwant to spawn up an instance of the application or spawn up\na cluster of applications.\n\nWriting tests against such a cluster can be tedious without\na helper to setup your cluster before and after every test.\n\nThe `tape-cluster` package will setup your test harness / runner / application before each test block and spin them down after each test block.\n\nThis functionality is similar to `beforeEach` or `afterEach` that might exist in other testing libraries but is instead implemented as a standalone library that's compatible with vanilla `tape` and `tap`\n\n## Example\n\nYour test file\n\n```js\n// test/what.js\n'use strict';\n\nvar tape = require('tape');\nvar request = require('request');\n\nvar MyTestCluster = require('./lib/test-cluster.js');\n\nMyTestCluster.test('a test', {\n    port: 8000\n}, function t(cluster, assert) {\n    request({\n        url: 'http://localhost:' + cluster.port + '/foo'\n    }, function onResponse(err, resp, body) {\n        assert.ifError(err);\n\n        assert.equal(resp.statusCode, 200);\n        assert.equal(resp.body, '/foo');\n\n        assert.end();\n    });\n});\n\ntape('a test without tape-cluster', function t(assert) {\n    var cluster = new MyTestCluster({\n        port: 8000\n    });\n    cluster.bootstrap(function (err) {\n        assert.ifError(err);\n        request({\n            url: 'http://localhost:' + cluster.port + '/foo'\n        }, function onResponse(err, resp, body) {\n            assert.ifError(err);\n\n            assert.equal(resp.statusCode, 200);\n            assert.equal(resp.body, '/foo');\n\n            cluster.close(function (err) {\n                assert.ifError(err);\n                assert.end();\n            });\n        });\n    });\n});\n```\n\nYour actual `test-cluster.js`\n\n```js\n// test-cluster.js\n'use strict';\n\nvar tape = require('tape');\nvar http = require('http');\nvar tapeCluster = require('tape-cluster');\n\nMyTestCluster.test = tapeCluster(tape, MyTestCluster);\n\nmodule.exports = MyTestCluster;\n\nfunction MyTestCluster(opts) {\n    if (!(this instanceof MyTestCluster)) {\n        return new MyTestCluster(opts);\n    }\n\n    var self = this;\n\n    self.assert = opts.assert;\n    self.port = opts.port;\n    self.server = http.createServer();\n\n    self.server.on('request', onRequest);\n\n    function onRequest(req, res) {\n        res.end(req.url);\n    }\n}\n\nMyTestCluster.prototype.bootstrap = function bootstrap(cb) {\n    var self = this;\n\n    self.server.once('listening', cb);\n    self.server.listen(self.port);\n};\n\nMyTestCluster.prototype.close = function close(cb) {\n    var self = this;\n\n    self.server.close(cb);\n};\n```\n\n## ES6 example\n\n```js\nconst fetch = require('node-fetch')\n\nconst MyTestCluster = require('./lib/test-cluster.js');\n\nMyTestCluster.test('a test', {\n    port: 8000\n}, async function t(cluster, assert) {\n    const res = await fetch(`http://localhost:${cluster.port}/foo`)\n\n    const text = await res.text()\n    assert.equal(res.status, 200)\n    assert.equal(text, '/foo')\n});\n```\n\n```js\nconst tape = require('tape');\nconst http = require('http');\nconst tapeCluster = require('tape-cluster');\n\nclass TestCluster {\n    constructor(opts) {\n        this.port = opts.port\n        this.server = http.createServer()\n\n        this.server.on('request', (req, res) => {\n            res.end(req.url)\n        })\n    }\n\n    async bootstrap() {\n        return new Promise((resolve) => {\n            this.server.once('listening', resolve)\n            this.server.listen(this.port)\n        })\n    }\n\n    async close() {\n        return new Promise((resolve, reject) => {\n            this.server.close((err) => {\n                if (err) return reject(err)\n                resolve()\n            })\n        })\n    }\n}\n\nTestCluster.test = tapeCluster(tape, TestCluster)\n```\n\n## Installation\n\n`npm install tape-cluster`\n\n## Tests\n\n`npm test`\n\n## Contributors\n\n - Raynos\n\n## MIT Licensed\n\n  [build-png]: https://secure.travis-ci.org/Raynos/tape-cluster.png\n  [build]: https://travis-ci.org/Raynos/tape-cluster\n  [cover-png]: https://coveralls.io/repos/Raynos/tape-cluster/badge.png\n  [cover]: https://coveralls.io/r/Raynos/tape-cluster\n  [dep-png]: https://david-dm.org/Raynos/tape-cluster.png\n  [dep]: https://david-dm.org/Raynos/tape-cluster\n  [npm-png]: https://nodei.co/npm/tape-cluster.png?stars&downloads\n  [npm]: https://nodei.co/npm/tape-cluster\n","_attachments":{},"homepage":"https://github.com/Raynos/tape-cluster","bugs":{"url":"https://github.com/Raynos/tape-cluster/issues","email":"raynos2@gmail.com"}}