nouveau-theatre-de-besancon/node_modules/mute-stdout
2024-09-20 10:32:49 +02:00
..
index.js install gulp to process code 2024-09-20 10:32:49 +02:00
LICENSE install gulp to process code 2024-09-20 10:32:49 +02:00
package.json install gulp to process code 2024-09-20 10:32:49 +02:00
README.md install gulp to process code 2024-09-20 10:32:49 +02:00

mute-stdout

NPM version Downloads Build Status Coveralls Status

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