Sha256: e4196d8b2d9037b253bfdb1353f9e86e8b3474c0d8309617714396ae20755c75
Contents?: true
Size: 611 Bytes
Versions: 6
Compression:
Stored size: 611 Bytes
Contents
### wat? `process.stdout` in your browser. ### wai? iono. cuz hakz. ### hau? ```js 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. ```js BrowserStdout({ objectMode: true, label: 'dataz', }) ``` ### ur doin it rong i accept pr's.
Version data entries
6 entries across 6 versions & 4 rubygems