Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

browser-stdout

1.3.1 • Public • Published

wat?

process.stdout in your browser.

wai?

iono. cuz hakz.

hau?

var BrowserStdout = require('browser-stdout')
 
myStream.pipe(BrowserStdout())

monkey

You can monkey-patch process.stdout for your dependency graph like this:

process.stdout = require('browser-stdout')()
var coolTool = require('module-that-uses-stdout-somewhere-in-its-depths')

opts

opts are passed directly to stream.Writable. additionally, a label arg can be used to label console output.

BrowserStdout({
  objectMode: true,
  label: 'dataz',
})

ur doin it rong

i accept pr's.

Keywords

none

Install

npm i browser-stdout

DownloadsWeekly Downloads

1,756,253

Version

1.3.1

License

ISC

Unpacked Size

2.3 kB

Total Files

4

Last publish

Collaborators

  • avatar