Kevin 29b9a0c50c clean && clean html base | 4 years ago | |
---|---|---|
.. | ||
LICENSE | 4 years ago | |
README.md | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago |
Mute and unmute stdout.
var stdout = require('mute-stdout');
stdout.mute();
console.log('will not print');
stdout.unmute();
console.log('will print');
Mutes the process.stdout
stream by replacing the write
method with a no-op function.
Unmutes the process.stdout
stream by restoring the original write
method.
MIT