|
|
hace 2 años | |
|---|---|---|
| .. | ||
| LICENSE | hace 2 años | |
| README.md | hace 2 años | |
| index.js | hace 2 años | |
| package.json | hace 2 años | |
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