mute-stdout
Mute and unmute stdout.
Last updated 7 years ago by phated .
MIT · Repository · Bugs · Original npm
$ cnpm install mute-stdout 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (7 years ago)

1 Versions

  • 1.0.1                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org