You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rdrew
573c318665
|
2 years ago | |
---|---|---|
.. | ||
LICENSE | 2 years ago | |
README.md | 2 years ago | |
index.js | 2 years ago | |
package.json | 2 years ago |
README.md
mute-stdout
Mute and unmute stdout.
Usage
var stdout = require('mute-stdout');
stdout.mute();
console.log('will not print');
stdout.unmute();
console.log('will print');
API
mute()
Mutes the process.stdout
stream by replacing the write
method with a no-op function.
unmute()
Unmutes the process.stdout
stream by restoring the original write
method.
License
MIT