npm.io
1.1.0 • Published 7 years ago

mija

Licence
MIT
Version
1.1.0
Deps
1
Size
90 kB
Vulns
0
Weekly
0
Stars
6

Console Logger with Emoji Support

Build Status Code Style

Install

npm install mija

Usage

Screenshot

const mija = require('mija');

mija.success('Success!');

API

mija.option(text);

or

mija.custom(emoji, text);

option

Any available option.

text

Type: string

Custom message.

emoji

Type: string

Custom emoji. Can only be used with mija.custom.

Options

info

warn

error

success

magic

inprogress

stop

repeat

experimental

danger

custom

  • xa - Simple console logger, that works in Node.js, Electron and the Browser
License

MIT

Keywords