Nihilist Pocket Monsters

    mute-stdout

    2.0.0 • Public • Published

    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

    Install

    npm i mute-stdout

    DownloadsWeekly Downloads

    1,169,663

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.74 kB

    Total Files

    4

    Last publish

    Collaborators

    • sttk
    • phated
    • yocontra