{"_id":"log-rotate","_rev":"26-a84e511178f1f0cfa917f590033f05f2","name":"log-rotate","description":"Rotate log files with ease","dist-tags":{"latest":"0.2.8"},"versions":{"0.0.1":{"name":"log-rotate","version":"0.0.1","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"_id":"log-rotate@0.0.1","dist":{"shasum":"7cbe6ebfde31c5ed5639e6d8965259d33b5bdac7","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.0.1.tgz","integrity":"sha512-M/CqS+153BxrrcV0fSeyrTzbUEtgpmrcg0UJeC3HNIJeltLNOzDz4A+cECY4fa/Fl7FWibVZN3yJ+C1THukkIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGqdS2v1RbE1PCmM/i3SxrpgdSUuycCEN/2KmsR/eLr2AiEA8aIwweTkbvyMtiqli9yZu4Qt+OtwU0TmU/FD0A8XR24="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.1.0":{"name":"log-rotate","version":"0.1.0","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"_id":"log-rotate@0.1.0","dist":{"shasum":"dcd861d654b6ac9e38bbba45e93306953a0a1163","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.1.0.tgz","integrity":"sha512-QhPhbtYBl4Vn9zAXL2gFFszoc2TEoZrvviUWSso35hyzv3YwDgrNwPtu0cy6PwNJS9y9SBOMVEtVWdjAc9j2rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSE94hef3p+frmCPJkxBjpOprvqyxS82/Q6ZFATIEkuAIhAK2UpejUv1LhKlBGa3u8KV66MJVR28n6m1EW4x0nlLcG"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.0":{"name":"log-rotate","version":"0.2.0","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"_id":"log-rotate@0.2.0","dist":{"shasum":"204915d132fe4803fbf3daa7a618e383d3bec5f2","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.0.tgz","integrity":"sha512-Seu/THFkUdUoTXrV3+U6Anrl7LnijkeCL26sREELkPv9Ar9qxXBEOdoa+k3iNB7T09o2BfdCWzh+oevPL1T9Hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoLTLxWU6ErpGvI6xIOd6qOmqhZfJENCwfoDfCW4pJBAIhANSeFMjSssr1YcTWBPwwGxLs0BfBEmySrBQa4ABh02p6"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.1":{"name":"log-rotate","version":"0.2.1","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"_id":"log-rotate@0.2.1","dist":{"shasum":"884eaf9da7ed8ee1f76b91170db2b315ab16874e","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.1.tgz","integrity":"sha512-jLin7LXJDsLdhzhtwpBoKEAWT5LONiebtE00wFEj1RhvxcvUPC6g8EDXFLUMLdAg/CKDbeqJxBn+xfyeytjGkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuD3uCUBV0YpIlfBqk5W40rIUSZelTrve1VzENGYM6NAIgS3rUVAr9GUdo95ZQRtSIpYkYOV7oJg16AS8wN94sZgI="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.2":{"name":"log-rotate","version":"0.2.2","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"_id":"log-rotate@0.2.2","dist":{"shasum":"b1157f2aa6746e50709f5c93b70884b9793df140","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.2.tgz","integrity":"sha512-Gw9+7UqZ9bTcQnnlgBOk/xLnZyWfC0D0Tgvjimde2FDspEZvC7i3FKFDNWfRIiFPt6N5c+++UYErqRmI5NIpxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEeEmQ4aJzX2BVREjWBZFLKonNVyfXFhhfSXJ1WpOm2SAiA9J4nsmHxUHdyG2aFvABbj3Inypddo5x1GAkaEWblZHw=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.3":{"name":"log-rotate","version":"0.2.3","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"node test/rotate.js"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"devDependencies":{"tape":"~2.1.0"},"_id":"log-rotate@0.2.3","dist":{"shasum":"b94b3ac05dc644636d43f6434c87c7f9819981f4","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.3.tgz","integrity":"sha512-IUbIuBTeRf9G1jx6hFrmSCdn7zChoFqDn404IKWB+oXPN3gQ9W/+Ne/tnVg73wX7NKt2v4Pbne4V+39xAO6cyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/gUeagRuwIwfSRTQKh1/d9dzlnWPAWvRjnW06QZcoRAiAfvqsMgh34xWuQpHkKqt5zKlab/e0+7wsVF2TRDz6ERg=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.4":{"name":"log-rotate","version":"0.2.4","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"node test/rotate.js"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"devDependencies":{"tape":"~2.1.0"},"_id":"log-rotate@0.2.4","dist":{"shasum":"b86f9c49079c6df41810d4b4247287e85d3ec448","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.4.tgz","integrity":"sha512-vOdRYhqLIE4YGGTkMAXwVnuZntLvg3lEW9ovKrDzZ8A/Ht3c781CK359c6FJAuXv+Tfrrfb3D7Tq+eb24xTqqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMfBTKI/Ges11uw1NdbGD6RrpMt0q81HcHcy6iR+l32AiEAveWBuKioV6AXGX8o+yv5zNBe5Se/LLTFgjNJX1BjB54="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.5":{"name":"log-rotate","version":"0.2.5","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"node test/rotate.js"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"devDependencies":{"tape":"~2.1.0"},"homepage":"https://github.com/dstokes/log-rotate","_id":"log-rotate@0.2.5","dist":{"shasum":"dcd41c3a232222320d69ede188e7939fa33dfc0a","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.5.tgz","integrity":"sha512-pFdDMAfgkGxcbLIJyqagyD8enaj2+xGabSs1DSicMzkl+psFdutvWLkblBM7PkSJH18yOzNFEFPN0XXtpkhkWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGuW6B1bipq48SNt6luckbXOKEIhzdIE7qyLUoYcLidoAiBCrnaU8QkHxRbfr8CoyvyiEVjpb0xdrovI7uf6zlIJ1Q=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.6":{"name":"log-rotate","version":"0.2.6","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"node test/rotate.js"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"devDependencies":{"tape":"~2.1.0"},"homepage":"https://github.com/dstokes/log-rotate","_id":"log-rotate@0.2.6","dist":{"shasum":"c21c1f4f2788daa7bc152fa9acaf5655641c60c5","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.6.tgz","integrity":"sha512-5jSao5aIsQwyE+kK+62ZLq30eis+PvtEL9AKLqGU/VXL8Wb5Be+COaKnIbghi4cbsJiSugw3ndjV3SmEbiqnSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYW9WDZYZMdGe6WS0NU6bNzPvgObzQKKQWQOgUp3H9EAiBG/HCkwleafrqYLFOOy6Ck4lwTEHn1TWqrZzvbz8fQpQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.7":{"name":"log-rotate","version":"0.2.7","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"node test/rotate.js"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"devDependencies":{"tape":"~2.1.0"},"homepage":"https://github.com/dstokes/log-rotate","_id":"log-rotate@0.2.7","dist":{"shasum":"aadb64259eea49e5668842342c864d0b142e8c2d","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.7.tgz","integrity":"sha512-aF63dy/xOu5onvf5RnUpQAvPlUmk8edTQDugCouhPJTBLtHCVbgWhX3jxqAeQoxhct0cEn6wbyS8DiGJOrQU4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBZ7wYBI2vEwd9mqhEdS4mWAj8Pi+BrRHFrs0Mxw1D+wIhAPFW4/vRYpCQl2oyeQycAaQCEwT8anyAtr8/rzhV446O"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{}},"0.2.8":{"name":"log-rotate","version":"0.2.8","description":"Rotate log files with ease","main":"index.js","scripts":{"test":"node test/rotate.js"},"keywords":["log","rotate"],"author":{"name":"Drew Stokes"},"license":"BSD-2-Clause","repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"devDependencies":{"tape":"~2.1.0"},"bin":{"log-rotate":"bin/log-rotate"},"gitHead":"eea5c00372c84f6c9a87b043abfbb7dc772f9f29","homepage":"https://github.com/dstokes/log-rotate#readme","_id":"log-rotate@0.2.8","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"dstokes","email":"drew@drewstokes.com"},"dist":{"integrity":"sha512-r9I3eKh2EH+jjbg+tqvACtBjmCdyyyKQsElVF+a/tYCQDOmHQxTvlDEB6GFn2UAZcsF13LTV814bhXspWMu96g==","shasum":"1003c89ece53b5fe8a28dbc4d70bcada9d61b8c5","tarball":"https://registry.npmjs.org/log-rotate/-/log-rotate-0.2.8.tgz","fileCount":7,"unpackedSize":7953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2UK9CRA9TVsSAnZWagAA9jIP/1/+OSQMCvLCPM7e+eeW\nQOFBMI9LOfkK+aiNVQ3TncAusl691oYjE+wRzpasYyjjYqqu2I05DMCVyvcJ\nSGMpIVAkq8XBdnflEtu2UKjZrB1N0W3K8drYo02Na2UVtToB4kcsD3/2K+nR\nGLcrZGI0Sj69n0TdymP5/OCIvFXHPU1oYgyYuy4ZJVmKsLa8OYkQAbyT3mC3\n4Oy7v0AJSAlLqrFqYYXLthLUFLL2x10VFzK476I+wYg+ZdSL+wei/TmDa9x0\n6k3TrjiCe95X6gqSipEZZqXSkBRYJz0lBb5585CWktaKj9zA4Wcde3l1RdIB\nAw0dVbUHwsVwrEnqld8wmnZ1Eb8sd+qgPo3DtrJmd1TeG9BZ7sUhv5jkIgzq\n2uuWlZqi9WWF30iucyp9wrJouYO+iR9ncotW+QmOimF8qhfRBs2k420iqQ1f\n9BHmLh5DqQ+omU/W+5oGBXun9VtN2WHXI/6Zx1QmRDv1lGwpObx8CjNNGQdQ\n1+y46vWyqF3KGeZj8ysxczzmfmmZgBAoh/bpNM1aPh66JQDA/wG8Odg60nSZ\nixA0SGtvnOBPM0jZnAwD3mExLr3mbwVal7LmIjpWmUTLXGj8jVhmhpkaqskZ\nZlSjK7uWtOUEWJttSXgh+0ZhkfEpqskPAdXWK3+39buxePS0lshMwhKxm9dA\nfbjI\r\n=P4w5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUGD6XH084Kwd0IL58fw6Y0dQo8s8YQR6coaNHgv6QLAiBwvPyds4ZOIylRpivs+NrRKHUhWL7ECBoP7u20MDwF1Q=="}]},"maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-rotate_0.2.8_1524187836766_0.657603475906132"},"_hasShrinkwrap":false}},"readme":"log-rotate\n======\n\nRotate a log similar to the way linux logrotate does, appending and updating\n`.NUM` indexes as you go.\n\n[![Build Status](https://travis-ci.org/dstokes/log-rotate.png)](https://travis-ci.org/dstokes/log-rotate)  \n[![NPM](https://nodei.co/npm/log-rotate.png?downloads=true)](https://nodei.co/npm/log-rotate/)  \n\nExample\n=======\n``` js\nvar rotate = require('log-rotate');\n  \n// move a log file while incrementing existing indexed / rotated logs\nrotate('./test.log', function(err) {\n  // ls ./ => test.log test.log.0\n});\n```\n\noptions\n=======\n\n### count\nLimit the number of rotated files to `count`\n\n``` js\nvar rotate = require('log-rotate');\n\nrotate('./test.log', { count: 3 }, function(err) {\n  // ls ./ => test.log test.log.0 test.log.1\n});\n```\n\n### compress\nCompress rotated files with gzip\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install log-rotate\n```\n","maintainers":[{"name":"dstokes","email":"drew@drewstokes.com"}],"time":{"modified":"2022-06-19T13:45:06.612Z","created":"2013-11-10T00:38:08.849Z","0.0.1":"2013-11-10T00:38:10.246Z","0.1.0":"2013-11-11T19:04:55.759Z","0.2.0":"2013-11-11T21:13:10.828Z","0.2.1":"2013-11-11T21:22:59.269Z","0.2.2":"2013-11-13T21:25:36.145Z","0.2.3":"2013-11-19T00:31:06.497Z","0.2.4":"2013-11-19T01:18:47.272Z","0.2.5":"2014-01-29T18:40:36.128Z","0.2.6":"2014-02-21T21:35:48.268Z","0.2.7":"2014-04-01T16:24:17.090Z","0.2.8":"2018-04-20T01:30:36.857Z"},"author":{"name":"Drew Stokes"},"repository":{"type":"git","url":"git://github.com/dstokes/log-rotate.git"},"readmeFilename":"README.md","homepage":"https://github.com/dstokes/log-rotate#readme","keywords":["log","rotate"],"bugs":{"url":"https://github.com/dstokes/log-rotate/issues"},"license":"BSD-2-Clause","users":{"chengen":true,"adamlu":true}}