Socket
Socket
Sign inDemoInstall

emoji-log

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoji-log

Log to console with emojis 🦄


Version published
Weekly downloads
1.4K
Maintainers
1
Weekly downloads
 
Created
Source

emoji-log

Log to console with emojis 🦄

NPM Travis Build DEPENDENCIES LICENSE TWEET

🙋‍♂️ Made by @abhijithvijayan

Donate: PayPal, Patreon

Buy Me a Coffee


❤️ it? ⭐️ it on GitHub or Tweet about it.

    Art by Colin J. Randall

               \
                \
                 \\
                  \\
                   >\/7
               _.-(6'  \
              (=___._/` \
                   )  \ |
                  /   / |
                 /    > /
                j    < _\
            _.-' :      ``.
            \ r=._\        `.
           <`\\_  \         .`-.
            \ r-7  `-. ._  ' .  `\
             \`,      `-.`7  7)   )
              \/         \|  \'  / `-._
                         ||    .'
                          \\  (
                           >\  >
                       ,.-' >.'
                      <.'_.''
                        <'

Table of Contents

Installation

Ensure you have Node.js 10 or later installed. Then run the following:

# npm
npm install emoji-log

# yarn
yarn add emoji-log

Usage

# commonjs
require('emoji-log');

# js or ts
import 'emoji-log';

# Logging
> console.emoji();
> console.emoji(null);
> console.emoji(undefined);
> console.emoji('hello world');
> console.emoji('🦄', 'hello world'); # with custom emoji & data
> console.emoji('🐸', {hello: 'world'}); # maybe objects
> console.emoji('🔥', new Error('I set the length and emoji'), 15); # with custom emoji, data & line limit length

Browser
Node

Issues

Looking to contribute? Look for the Good First Issue label.

🐛 Bugs

Please file an issue here for bugs, missing documentation, or unexpected behavior.

See Bugs

Linting & TypeScript Config

Credits

License

MIT © Abhijith Vijayan

Keywords

FAQs

Package last updated on 29 Apr 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

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