Package detail

mute-stdout

gulpjs6.6mMIT2.0.0

Mute and unmute stdout.

mute, silence is golden, stdout

readme

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

changelog

Changelog

2.0.0 (2021-11-22)

⚠ BREAKING CHANGES

  • Normalize repository, dropping node <10.13 support (#8)

Miscellaneous Chores

  • Normalize repository, dropping node <10.13 support (#8) (4b17b49)