Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

leprechaun

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leprechaun

A simple, lightweight, and colorful logging utility

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.5K
decreased by-36.74%
Maintainers
1
Weekly downloads
 
Created
Source

leprechaun

A simple, lightweight, and colorful logging utility

Leprechaun

leprechaun() itself is nothing more than an alias for console.log(). leprechaun.info(), leprechaun.success(), leprechaun.warning(), and leprechaun.error() prepend appropriate, colored icons in front of the message(s). Well suited for CLIs and beautiful just like a leprechaun’s hidden pot of gold at the end of the rainbow.

Install

npm install leprechaun --save-dev

Usage

var log = require('leprechaun');

var a = 'Test';
var b = 1337;
var c = true;

log(a, b, c);

log.info(a, b, c);

log.success(a, b, c);

log.warning(a, b, c);

log.error(a, b, c);

Changelog

  • 0.0.2
    • Fix logo within README
  • 0.0.1
    • Initial version

TODO

  • Documentation
  • Tests

License

Copyright (c) 2016 websperts
Licensed under the MIT license.

See LICENSE for more info.

Keywords

FAQs

Package last updated on 09 Jan 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc