0.2.0 • Published 7 years ago

another-tail v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

another-tail

Yet another Node.js module that tails a file. Handles file trunction.

Usage

const tail = require('another-tail');

let follow = tail.follow('./foo.txt');

follow.on('data', function(chunk) {
    console.log(chunk);
});

follow.on('line', function(line) {
    console.log(line);
})

Events

data

New data in the file as a string.

line

A full new line as a string.

License

MIT

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago