livetail

0.0.1 • Public • Published

livetail

Node.js implementation for tailing a file. Like tail -f

Setup:

var livetail = require("livetail").livetail;
var tail = new livetail('testfile.txt');

Usage:

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

Live Streaming Log with Socket.io Example:

Checkout the example folder.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i livetail

      Weekly Downloads

      0

      Version

      0.0.1

      License

      BSD-2-Clause

      Last publish

      Collaborators

      • dabo