🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

single-line-stream

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-line-stream

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

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

single

FAQs

Package last updated on 04 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts