Socket
Book a DemoInstallSign in
Socket

block-console

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

block-console

A util to block stderr&stdin stream to prevent them interrupt some long text out

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

block-console

A util to block stderr&stdin stream to prevent them interrupt some long text out

Usage

const blockConsole = require('block-console');

blockConsole.block(); //This will block your stdin and stderr stream

console.log('some long text');

blockConsole.relieve(); //This will relieve your stdin and stderr stream for other usage

Keywords

block

FAQs

Package last updated on 21 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts