root 3bf41bf355 update | vor 1 Jahr | |
---|---|---|
.. | ||
LICENSE | vor 1 Jahr | |
README.md | vor 1 Jahr | |
index.js | vor 1 Jahr | |
package.json | vor 1 Jahr |
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