Socket
Book a DemoInstallSign in
Socket

info-buffer

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

info-buffer

A queue-based logger

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Info Buffer

This package is a queue-driven console log bus that aims to resolve conflicts when logging items to the console in an event-driven way.

Installation

 $ npm install --save info-buffer

Example


const InfoBuffer = require('./index');

const buffer = new InfoBuffer();

buffer.log("log");

buffer.wait();

buffer.log("Not logged");

buffer.resume();
buffer.log("this");
buffer.broadcast();

Keywords

buffer

FAQs

Package last updated on 03 Jun 2020

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