1.0.2 • Published 2 years ago

@akrc/tail v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago