sls

single-line-stream

Basically single-line-log by @freeall except this is a through stream

Showing:

Popularity

Downloads/wk

2

GitHub Stars

15

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

1

Size (min+gzip)

8.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

single-line-stream

Basically single-line-log by @freeall except this is a through stream

npm install single-line-stream

Usage

var log = require('single-line-stream')
var fs = require('fs')

fs.createReadStream('/dev/urandom', {highWaterMark:16, encoding:'hex'})
  .pipe(log())
  .pipe(process.stdout)

The above example will print out a random hex string that updates inplace in your terminal.

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100