UNPKG

rotator

Version:

Emit rotate events and rotate files based on interval. Rotate event handlers are called "rotater-tots" or just tots. Tots get passed a readable stream the log file path and the data passed in when the log was asociated.

24 lines (23 loc) 660 B
{ "name": "rotator", "version": "0.1.2", "description": "Emit rotate events and rotate files based on interval. Rotate event handlers are called \"rotater-tots\" or just tots. Tots get passed a readable stream the log file path and the data passed in when the log was asociated.", "main": "index.js", "scripts": { "test": "jshint --config .lint.json ./index.js && tap ./test/*.js" }, "repository": "git://github.com/soldair/node-rotator.git", "keywords": [ "logs", "log", "rotate", "keeping data", "tater-tots" ], "devDependencies":{ "tap":"*", "jshint":"*" }, "author": "Ryan Day", "license": "BSD" }