{"_id":"logrotate-stream","_rev":"33-09a4c2ecec97708ee1a28902c7402d86","name":"logrotate-stream","description":"Pipe log data to a stream, fuggetabout rotation","dist-tags":{"latest":"0.2.9"},"versions":{"0.0.1":{"name":"logrotate-stream","version":"0.0.1","description":"Pipe log data to a stream, fuggetabout rotation","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"log-rotate":"~0.2.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"_id":"logrotate-stream@0.0.1","dist":{"shasum":"60f03e8fe6af94308c4268c1a8e72db030e0cb57","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.0.1.tgz","integrity":"sha512-fk0VBxbaME9UPWZGnFlUP94EU9JmVU4iNLSGkyTTlLI2gg83n9s5zLFUZj1v/rBwXdkVnREWYo61xp4TAu1/Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG0rIy1RGJ8i2FAsy7+1eduMzscPTQfWeQl6z5pYb1PQIgbLatatmW21kHOVttT7Uk/J2lH/pnejdIjPObNnkmBjM="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.0.2":{"name":"logrotate-stream","version":"0.0.2","description":"Pipe log data to a stream, fuggetabout rotation","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"log-rotate":"~0.2.0"},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"_id":"logrotate-stream@0.0.2","dist":{"shasum":"eb292c520e7c12f27fba1cfcab0965a70101f5e8","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.0.2.tgz","integrity":"sha512-D1vHcL/H5Ad73YvWvdogZ/oH3oD1MRp99K9SCkw5wOKM+5eHeb0+uLEhl4nC3OVib6pJ6ylUXnVyxrG+QTW+PQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtm/2P6fk/qsJphU4PestWENiXb9f/ejNu9VSNrqw7OAIhAIoBtPDfLMwHyLjKVdA9j/XzMOhdcfAMfcl+Z0Kqh14T"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.1.0":{"name":"logrotate-stream","version":"0.1.0","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"log-rotate":"~0.2.2","optimist":"~0.6.0"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"_id":"logrotate-stream@0.1.0","dist":{"shasum":"1edec9891881e8d3e198b3e2cb07cbf365b5bcc5","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.1.0.tgz","integrity":"sha512-z2C9Gix1BSGoly+/A82VJXlkJCHlViFppRrGt8JtM4Njywy/Pc5xN05+hyM9slNmU9yEDrqhLpdodTprl9NIoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPlh+FfnPDiPGJ6hC5LgSaJgXxGFI/Ysco5K4vBCg41wIgV6fmiRzW3OGMz3PTR4JdVB+aaE7Rs4/ydcPqWBSiyvI="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.0":{"name":"logrotate-stream","version":"0.2.0","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"log-rotate":"~0.2.2","optimist":"~0.6.0","bytes":"~0.2.1"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"_id":"logrotate-stream@0.2.0","dist":{"shasum":"8c8dee8c62b5a23e29520e4cac5872587aec5f71","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.0.tgz","integrity":"sha512-H5FRCGntz8eDREdRIUdkl16m5J4RgKIEfSumrFbOGVq5t433QOFzSyZKPU0nKjxtUHdDQRsQ2TH4dP1YqZb9yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMhBL5yaFktXdN1HGsLA5YzZUpU9Z3Lj8tFLikgGlc+wIhALaKxvF9aAeHCF5RO7H+wBpHa23Q9ejn7eoSkbJeyZ84"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.1":{"name":"logrotate-stream","version":"0.2.1","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.2","optimist":"~0.6.0"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"_id":"logrotate-stream@0.2.1","dist":{"shasum":"240846d0244a9a102c9019e9ac1da6697f61095c","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.1.tgz","integrity":"sha512-FybStB7QgaFwiSBzFxhnk9zS9ab+ZUFs9K+PlZoccyDAUINh3XweOkx+S4SQPyTdnVTomps67l4hvOI/c03FVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6FS9XesYTgadhCDzRt4KlI2sXtg7thujHT54mSd0wUQIgFh0eyawGEZUy+/n9n6e+zKZTMA2eAnPOEhp5M7iPxdw="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.2":{"name":"logrotate-stream","version":"0.2.2","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.2","optimist":"~0.6.0"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"_id":"logrotate-stream@0.2.2","dist":{"shasum":"ba85b0f9d272d2cac2a3ebbe034cddea0e9d0160","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.2.tgz","integrity":"sha512-4irP0FzUdQ+ls6cXvWsuTiHg47E8W7zqOHDNKxOaqZq/xooMEtVc8CNKdDH1JcBEEPVX1/EKoQ8vQm/qLHIgyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbYBBGUBrYEo0nRkMz3M9m4Nejz4PTMfYMOic9DtiADwIgcMIsriCdJTB8x0ZlosEYTzLzZdOjlo4+RRW0mT3ms3U="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.3":{"name":"logrotate-stream","version":"0.2.3","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.2","optimist":"~0.6.0"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"homepage":"https://github.com/dstokes/logrotate-stream","_id":"logrotate-stream@0.2.3","dist":{"shasum":"39eacc8c9a479e79cdcbae1392170ed7e83c5363","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.3.tgz","integrity":"sha512-C+REKuZQ63vf3DUya+Zj9cP6WYyWG6ty2V0NPpK8FY1lFd0JDiWUqY3SMiTDcGXbZx0AzOZ7fSikQ6SYj0x7Dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrq++pPj6BGdlnTbGhUKz2NhdAVQ/FH6a1EqbcX00aOAiEAy2P56B+AwHDgGG4XkAAnrheuiVijPslHnfY/CUPV+8c="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.4":{"name":"logrotate-stream","version":"0.2.4","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.2","optimist":"~0.6.0"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"gitHead":"6019b6788284639ba117ab2881d61616398559d8","homepage":"https://github.com/dstokes/logrotate-stream","_id":"logrotate-stream@0.2.4","_shasum":"e0eb339b3cdca36862571ee149ba7f67028b1561","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"dist":{"shasum":"e0eb339b3cdca36862571ee149ba7f67028b1561","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.4.tgz","integrity":"sha512-wZcpX1a6EcwFnGBFABUVqFK1HMdiTeBavhzXagaL2Ge37/4x5ZV1NWcGOYCegSAdRo5pYjUm1BaHeTJCk5AuKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+lfS6ZWs9zt7cK2DkQFXx6FVCjah56WIxembd6hbqsQIgEi6KLLTeLiil1QecW1s1gcBvVr8RZrz37XPxQJxMLAA="}]},"directories":{}},"0.2.5":{"name":"logrotate-stream","version":"0.2.5","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.2","optimist":"~0.6.0"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"gitHead":"28648d03c63651ffe4a01399c4434a19a63ebc14","homepage":"https://github.com/dstokes/logrotate-stream","_id":"logrotate-stream@0.2.5","_shasum":"fdd42e7982a7ee2eb86b55f5f23dcbffc66e6990","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"dist":{"shasum":"fdd42e7982a7ee2eb86b55f5f23dcbffc66e6990","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.5.tgz","integrity":"sha512-E3TJierG72npF6tURQ2qgBm1AOzz04uWUO+VwzryOvDW39Y2lOAZ9tHsGpVw7m0WuY5BMu4qZrXKYZiuq8pWtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5L9BT0G6I+hHuFyS8P9Cv05WWKUzeGR8cgNUXtRYOvwIhAMgfQoMRHZYoiJESm37FDH5ilal4v4uY9ppW+CeubABy"}]},"directories":{}},"0.2.6":{"name":"logrotate-stream","version":"0.2.6","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"./bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.8","yargs":"~15.3.1"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"gitHead":"0cc7fbb5c60b6a0cc7879aed966ae817083f2c88","homepage":"https://github.com/dstokes/logrotate-stream#readme","_id":"logrotate-stream@0.2.6","_nodeVersion":"12.10.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-3RpSNNHmIoGNt6A9BUxK/SZMeAs3oguzNvci0OkpbJymIiNMbsbIiDI2pxdODnejzBm+fACABJ4I2w91D//yyA==","shasum":"20fc4a4f4059e139bcbb93cc9f73104ef954f574","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.6.tgz","fileCount":7,"unpackedSize":12139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee8URCRA9TVsSAnZWagAAjX0QAJPcxnoSfbYTsZj7wSP0\ndbpAdZbP7rRXSkqf85nHw54Mg72UKCdE+b05RjmNg2E1T7/hxlb0PyQq9kWr\n6UJ+XrQsYXnVNEN1HTWIAoK7fDu7r8BfInDgEY0GaicJDlNtzKCxNpPNVLKG\nEQhtFhOQ87xgjkJ6OlwLvuhRvMdCDbf5AFe2SZdQPhaq1KjK1wSI2v8rlINq\nkObhLXAfkrGff8vgpdFVnYHvm0mucdWp3worDwk+YyFNXow+EFf3X6hAcxOX\nl7BhKV9B5TXnWVOpAZ+1UTY0Z/uk6VDMM1WJKxbAcBb7/96elqD4J33Sj8D2\ndTaGJgbKhtmok2zH5a5mFAR1a6wBfvZr0en9OM2F08VOpxIKEdzGRi1Svj+V\nwL/RKXAhiMI9x43EK5/24isdlCmzbqq3+wTqNL2PXQTOhANWjXQlcHgZIc35\nEFQ0oc0NhiVXiKVfX4hUGE3Pj37AyPtK1e+0mUG2UAGzW80i7qc/dXGo5TxW\nPxuu/q3o6Jym7b/+0Lw0OugoajL5cl9Zln0Qbw7dnHY2IRyoPnJKfyVGHG0X\nmE+eCy/gRgzWALaBEXaJXbj80zq9V6liEiAfGSI7O9tJzJrUjya7sFfi5h/+\nrSKOnHk2lR7IAbyOyCodwVkSt3M0RUi/S90fTkXlW6HJwqguQr5oD2+wr0/A\nAlMr\r\n=uTQM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyWIVaZnmFFbQP8NZSWBa99B6e/l2tiNUJUsD+N3qDBAiEAmlj/lYZKbQc37rYMpVP7JPoU1vPMa+wY08lQ5dtupsQ="}]},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logrotate-stream_0.2.6_1585169680907_0.41402739251291276"},"_hasShrinkwrap":false},"0.2.7":{"name":"logrotate-stream","version":"0.2.7","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.8","yargs":"~15.4.1"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"gitHead":"20b0decdd38ab54b1b8c72729692604e1e0ec3a2","homepage":"https://github.com/dstokes/logrotate-stream#readme","_id":"logrotate-stream@0.2.7","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-azS39Z1YOvJ/GFJJTp4jF3q1eAa+8cy6g7ICpvGlnpuJ+d4cnA+hPzTbJnl36W+obo/V6he8zZC7Qbd4qOqCmQ==","shasum":"8b374959f88a988b67996f63da3bda361adf4a2c","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.7.tgz","fileCount":7,"unpackedSize":12139,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOAltCRA9TVsSAnZWagAALzEP/07AEiEo7EPt7VeQvTrL\nw+LD+nZdrcz9S0FaW9LeE31Af6UZBdQYvZT/h6BUnICOl+HmLh/fpIV24ybD\njZW5h2nP11kYrQZ35ATdYqT3LLrIcZ80uRcjd16TBTljuyUzUup+2xzjFtVl\nkS+qiNgBpYWF6dV1vDbXP8TSdMkq9MhWI024WRspUJfhltLIsT0a7jCaGtYT\nMoly5i6u4uWZiYhF4M5zDen+fBbdkjVW61q2P4Vn7c48NfHM1zQqTbptXL7P\n0/qlN2NDe03B09RDIdDcRRARlhZmwg9iMcfCfl9v5JZWHYd524mG+vSND7lN\nMSQOyq6RjscMN6oogcKz1Cvk+65pbzOzufQhsEF9RQrRhTthgtszbtIVmWAN\nuJ+nkp3t2E/4PiwkzrnCujKvXcd8vzacGjOee88RNQwouT6bbJIg/XntJ53D\nKKOYymfCOcYcqwfpdCB0nGq3qnqpoUBlqOA5UAkyU9u7kgegE/VV0MySeKka\nkcw5bR4QwvUA79Kc0cbmBKKCGG+iFi0NEDD+mq6Qp/NvoWgGpMBAjiK3aJel\nf7VxUuk47Z3/TenXEdhdBGpq5BI1NM+S0X26+dLk9jKlK0i04bfYMWilrzmx\n45U3GV01O/ay82Wlib9WB2Xqhw/oj8mMEo5F8QMnxqB/DRhaMpmEqq+1Ldck\nJTZ0\r\n=nO0g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPfwmc6DgGoNdZ45+uuMKF0uIvQq16v/8fxi5HYBwz3QIhAOwFBMMh3wz21MoWR6cf14PzMp/utlG9MzfdLlfM7uDO"}]},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logrotate-stream_0.2.7_1597507948533_0.7592720566271136"},"_hasShrinkwrap":false},"0.2.8":{"name":"logrotate-stream","version":"0.2.8","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.8","yargs":"~15.4.1"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"gitHead":"0cae68e5a9327ac44b9e70adbffe246ac3ee964b","homepage":"https://github.com/dstokes/logrotate-stream#readme","_id":"logrotate-stream@0.2.8","_nodeVersion":"15.2.1","_npmVersion":"7.0.10","dist":{"integrity":"sha512-j/knZUc7joTr6c5vbZ5t1dO3FdydVPdsqOqltzG9IIT26Jea9IU5x7OFOs9jCaZjrzT6feXL6OIJgeZ3ynXSPQ==","shasum":"e82fcb3d7881776d4237e28f18e4dc68ad45efc1","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.8.tgz","fileCount":7,"unpackedSize":12167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbJAECRA9TVsSAnZWagAAnN4P/jZTVFs4SazU5VvP2uhc\nQqrrSLJGk2Ni8LtIEG+ztvKXDtiV5MxB7kQbik39+b3DrS0IopswrZJ/3hsf\nsggvy7EiTyDtGiVSjT7JaRnOzMn5ytznFH6DeQWNPBehfREI9Ivzoh63Y4Rk\nYuzh6hNM9epVt/eHWo2O8RemWUhDDCbkCZga3zVEHaQyCHkHdljiltV/V56v\ntGFk33lVUb5aSOlaf7+9HZg8EMhKLDW4QnNlMsUOWehxRG3b/teQ2ObBqh3i\nfZpHzcksaQqhkHd0cIdndwYUveb+CuqtBzvvpc9l233CpDif/F7SeoDqVRpo\nUm1oc+jxPKtkyE5Dy0YBSfvhY+7oQ4jrOY6lfHNyiRa0u0U5OAbkrbWpJRJO\n99HE68zBh3HPDdXzG+BpvCuRhsK/+yyZCnwT2pZzWdbbl9r8DZU5ecfTLdHW\nf7Vo6kbAuXN/rfPcxmWncPLBbCeqqRdgjmr6OlFZKZXs0DwkYsynBDTopGo2\nz2vtftIo5JucUlK4ZZ/JMVKEDU9C1vjxC8b6Mn2+qow5AiuW9br/vlAgeuOT\nB+O04COUHf/aUCVv5AoGM2Se+ZRXyq5nAUNZwOemL1d9u9m2ydXvasyTVcOo\noZ9jabUre0rRrxqDgnMqfHTeLJFXBu7hT8pGXKL4HwPs8BSxtU/SaYBWPOWT\nvOgs\r\n=eCQz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZKf9rfL8oeYDN04zAZ4kk3U1q4odPLPkrqC1gFitrwAIgA171jTALUq0QlvNgx9mthr/3sq2/eK00Tt/yfptq6Dg="}]},"_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"directories":{},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logrotate-stream_0.2.8_1617727491979_0.8551922989850032"},"_hasShrinkwrap":false},"0.2.9":{"name":"logrotate-stream","version":"0.2.9","description":"Pipe log data to a stream, fuggetabout rotation","main":"index.js","bin":{"logrotate-stream":"bin/logrotate-stream"},"scripts":{"test":"node test/logrotate-stream.js"},"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","dependencies":{"byt":"~0.1.0","log-rotate":"~0.2.8","yargs":"~17.6.2"},"devDependencies":{"tape":"~2.1.0"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"gitHead":"51337947ab69e00bc6160deeb1e476d776b1ea77","homepage":"https://github.com/dstokes/logrotate-stream#readme","_id":"logrotate-stream@0.2.9","_nodeVersion":"19.2.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-NdqvzExIxmXxxEXiUpHbdkMhIIKngNaM6l/cCCr/bDTvGfBUP87/Zt5sDKz2F3bsooNvDmvnMSUUsbQVwH9tBA==","shasum":"40be2f2dd4abc51fa81a465cdc4ecf0e189d50cf","tarball":"https://registry.npmjs.org/logrotate-stream/-/logrotate-stream-0.2.9.tgz","fileCount":7,"unpackedSize":12167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlQN6r3tnvBD97JlRKdWHh+6dfkEvJWtTpxYgDEBShBAiEAlmv8a5Zwg1LCdraq6aAj0CoERV3YZ+CKeVVkkaV47WE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj667iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7qg//RoPq/jiOtKkVsSg9wvU8rNtnEuWGxC15ywzPLS9CYVviTCKv\r\ntZjhpL7he49UAndyp9+O4ShFN+1tSkhuTWS2oiZ9CYfE+z3YdO+mOAyx0pYC\r\nMtpgwNlAv72axqGSy9neG3C0E3ebKoG60/LPNBQe7vdwFl9FCrVqwZOlMZcF\r\nKWHJ4BAUU5VhniJ7Rk4Fo4CYtX4qLAhxVSjSN8+I718Pl+3+1YBPXr1EuhBK\r\nBwMOmc/wXTgmE05q3Icu/69/Nkvv1+V9INS6OTzgAcYTdNIaoVFR+TOgy10/\r\n31HQFoERueND7LrtAn2As+RoNFict2GrqeC0ZJRJgDFYd3MTnS4KNaVSz/Az\r\n43jlnqasqrM0DSw/1WTE2wYYqQDV2eKh5F7VF+g8AUARIqPNC5q70MBhCh4i\r\nBalME5fwPb3yrMT2j8sw0HLAJpsl9cEQzubVTckvCfow0aaoTW3ODRSQEJay\r\nYJv8POvGNrDjEx6IZqcqRASTbnglaZ1neGkrJwTrOD/i5HMVjdAf08zD/On1\r\nxc7Q1fW2cXlvR6GZTIe6dgfx4lT8XjZr4eEeKP0bGqZCKZLmaX5BjCV0U7Uy\r\nQSFf0iK2SuVkZGKkcxlKe4rGKUeq4rp9geZJIYnoBbdktLFuxMNLA8kpbn9Q\r\nHQEinYSEhxStZR/iTh2/G4I9YuRVlRfCFNI=\r\n=MlPt\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"directories":{},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/logrotate-stream_0.2.9_1676390114416_0.2876110435124668"},"_hasShrinkwrap":false}},"readme":"logrotate-stream\n================\n\nA Writable Stream that supports linux logrotate style options\n\n[![Build Status](https://travis-ci.org/dstokes/logrotate-stream.png)](https://travis-ci.org/dstokes/logrotate-stream)\n[![Donate](http://img.shields.io/bitcoin/donate.png?color=blue)](https://www.coinbase.com/dstokes)  \n[![NPM](https://nodei.co/npm/logrotate-stream.png?downloads=true)](https://nodei.co/npm/logrotate-stream/)  \n\nexample\n=======\nOn the command line:\n``` sh\n  node app.js 2>&1 | logrotate-stream app.log --keep 3 --size '50m' --compress\n```\n\nAs a module:\n``` js\nvar stream = require('logrotate-stream')\n  , toLogFile = stream({ file: './test.log', size: '100k', keep: 3 });\n\nsomeStream.pipe(toLogFile);\n```\n\nthe problem\n===========\nRotating logs that are being written to with stdio redirection sucks. Using a\nutility like `logrotate` doesn't automagically update your processes log file \ndescriptor and you end up with several empty logs and one mega rotated log.\n\nThere's a couple ways to try and deal with this, but they all fall short:\n#### 1. Use `winston`'s log rotation feature for nodejs apps\n\nThis requires adding a new dependency and possibly code changes around logging\nlogic.\n\n#### 2. Restart your app on a process signal\n\nOften times, production apps can't be restarted willy-nilly\n\n#### 3. Use the `copytruncate` feature of `logrotate`\n\nThis only works if you don't need to guarantee that all of your log lines are\npersisted. `copytruncate` performs a non-atomic copy before truncating the\noriginal log, which means you can lose data in the process if the copy is slow.\n\n`logrotate-stream` tries to remedy this situation by acting as an intermediary\nbetween the application and the file system, piping `stdin` to log files and\nrotating those logfiles when necessary.\n\nupstart woes\n============\nIf you find yourself using logrotate-stream with upstart, there's a few things\nto consider. Piping to logrotate-stream in your `exec` line will cause upstart\nto track the pid of the logrotate process rather than your app. While stopping\nwill still work (most likely emitting an EPIPE error on your app before\nexiting), it would be better if you used a named pipe to redirect your apps output:\n```\nchdir /path/to/app\n\npre-start script\n  # create a named pipe\n  mkfifo logpipe\n  # create a backgrounded logrotate-stream process and\n  # redirect the named pipe data to it\n  logrotate-stream app.log --keep 3 --size 50m < logpipe &\nend script\n\n# start the app, redirecting stdout & stderr to the named pipe\nexec /usr/local/bin/node index.js > logpipe 2>&1\n```\n\nThis setup will register the correct pid with upstart, make sure your stdio\nis forwarded to logrotate-stream, and will properly kill the logrotate-stream\nprocess when your app is stopped.\n\noptions\n=======\n\n### file\nThe file log file to write data to.\n\n### size\nThe max file size of a log before rotation occurs. Supports `1024`, `1k`, `1m`, `1g`\n\n### keep\nThe number of rotated log files to keep (including the primary log file). \nAdditional logs are deleted no rotation.\n\n### compress\nOptionally compress rotated files with gzip.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install logrotate-stream\n```\n","maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"time":{"modified":"2023-02-14T15:55:14.663Z","created":"2013-11-13T01:57:32.115Z","0.0.1":"2013-11-13T01:57:33.215Z","0.0.2":"2013-11-13T18:30:53.875Z","0.1.0":"2013-11-14T18:03:23.617Z","0.2.0":"2013-11-15T23:24:23.092Z","0.2.1":"2013-11-16T21:12:49.809Z","0.2.2":"2013-11-19T19:39:25.342Z","0.2.3":"2014-01-29T21:31:03.186Z","0.2.4":"2015-01-26T18:53:06.548Z","0.2.5":"2015-02-13T01:36:59.989Z","0.2.6":"2020-03-25T20:54:41.060Z","0.2.7":"2020-08-15T16:12:28.639Z","0.2.8":"2021-04-06T16:44:52.112Z","0.2.9":"2023-02-14T15:55:14.572Z"},"author":{"name":"Drew Stokes"},"repository":{"type":"git","url":"git://github.com/dstokes/logrotate-stream.git"},"readmeFilename":"README.md","users":{"chengen":true,"j3kz":true,"adamlu":true,"52u":true},"homepage":"https://github.com/dstokes/logrotate-stream#readme","keywords":["log","rotate","pipe","stream"],"bugs":{"url":"https://github.com/dstokes/logrotate-stream/issues"},"license":"BSD-2-Clause"}