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.

/livetail/

    Package Sidebar

    Install

    npm i livetail

    Weekly Downloads

    2

    Version

    0.0.1

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • dabo