Skip to content

anshuman-singh-93/node-tail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

node-tail

Read Last Line of a file in Realtime

Usage-

const { Tail } = require('tail-me')

const tail = new Tail( { filename : 'your filepath'})

tail.on('line',(newLine)=>{
    console.log(newLine)
})

tail.on('error',(e)=>{
    console.log(e)
})

Releases

No releases published

Packages

No packages published