.. | |||
LICENSE | 16 days ago | ||
README.md | 16 days ago | ||
index.js | 16 days ago | ||
package.json | 16 days 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