Package Exports
- mute-stdout
- mute-stdout/index.js
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 (mute-stdout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mute-stdout
Mute and unmute stdout.
Usage
var stdout = require('mute-stdout');
stdout.mute();
console.log('will not print');
stdout.unmute();
console.log('will print');
API
mute()
Mutes the process.stdout
stream by replacing the write
method with a no-op function.
unmute()
Unmutes the process.stdout
stream by restoring the original write
method.
License
MIT