0.0.3 • Published 7 years ago

tailing v0.0.3

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

node-tailing

Description

This package allows you to tail a file and execute a callback when new lines are written to it.

Installation

npm install tailing

Use

var Tailing = require('tailing');
var tail = new Tailing('/path/to/file');

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