Package Exports
- browser-stdout
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (browser-stdout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
wat?
process.stdout
in your browser.
wai?
iono. cuz hakz.
hau?
hacksy:
process.stdout = require('browser-stdout')()
myStream.pipe(process.stdout)
or less hacksy:
var BrowserStdout = require('browser-stdout')
myStream.pipe(BrowserStdout())
opts
opts are passed directly to stream.Writable
.
additionally, a label arg can be used to label console output.
BrowserStdout({
objectMode: true,
label: 'dataz',
})