https://github.com/davidbooth/livetail
Node.js implementation for tailing a file. Like tail -f
https://github.com/davidbooth/livetail
Last synced: about 1 month ago
JSON representation
Node.js implementation for tailing a file. Like tail -f
- Host: GitHub
- URL: https://github.com/davidbooth/livetail
- Owner: davidbooth
- Created: 2014-02-07T04:12:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-08T23:24:32.000Z (over 12 years ago)
- Last Synced: 2025-10-13T13:02:27.543Z (9 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.