Socket
Socket
Sign inDemoInstall

pioppo

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pioppo

A tiny isomorphic batched logger. ~3x faster than regular logging in Node.


Version published
Weekly downloads
20K
decreased by-1.27%
Maintainers
1
Install size
33.8 kB
Created
Weekly downloads
 

Readme

Source

Pioppo

A tiny isomorphic batched logger. ~3x faster than regular logging in Node.

Install

npm install --save pioppo

Usage

import Pioppo from 'pioppo';

const pioppo = new Pioppo ({
  transports: [console]
});

// Logging some messages

pioppo.debug ( 'Some message' );
pioppo.info ( 'Some message' );
pioppo.warn ( 'Some message' );
pioppo.error ( 'Some message' );

// Flushing messages immediately

pioppo.flush ();

License

MIT © Fabio Spampinato

Keywords

FAQs

Last updated on 04 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc