@akrc/tail
v1.0.2
Published
A simple script to watch a file and output file change when append new line.
Downloads
16
Readme
Tail
Description
A simple script to watch a file and output file change when append new line.
Usage
import { Tail } from '@akrc/tail'
const tail = new Tail('path/to/file')
tail.on('data', (line: string[]) => {
console.log(line)
})