1.1.0 • Published 6 years ago

filetailor v1.1.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

filetailor

A simple file tailor

This simple npm package allows you to tail files and perform actions based on matched patterns.

Example:

var filetailor = require('filetailor');

var config = {
    "test.log" : [
    {
        match: /ERROR/,
        action: function(data) { console.log("Got error!", data); }
    }
]
};

filetailor(config);

To Do:

  • Write tests Basic tests done
  • Add simple URL actions to post matched data
  • Write own file tailing code which does better error handling
  • Add action thresholds
  • Add CLI version with JSON config
1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago