1.0.2 • Published 3 years ago

@akrc/tail v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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)
})
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago