root 3bf41bf355 update %!s(int64=2) %!d(string=hai) anos
..
LICENSE 3bf41bf355 update %!s(int64=2) %!d(string=hai) anos
README.md 3bf41bf355 update %!s(int64=2) %!d(string=hai) anos
index.js 3bf41bf355 update %!s(int64=2) %!d(string=hai) anos
package.json 3bf41bf355 update %!s(int64=2) %!d(string=hai) anos

README.md

mute-stdout

NPM version Downloads Travis Build Status AppVeyor Build Status Coveralls Status Gitter chat

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