|
|
há 2 anos atrás | |
|---|---|---|
| .. | ||
| LICENSE | há 2 anos atrás | |
| README.md | há 2 anos atrás | |
| index.js | há 2 anos atrás | |
| package.json | há 2 anos atrás | |
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