Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xxczaki/mija

☢️ Console Logger with Emoji support!
https://github.com/xxczaki/mija

chalk color console-log console-logger emoji log logger mija nodejs npm package

Last synced: about 2 months ago
JSON representation

☢️ Console Logger with Emoji support!

Awesome Lists containing this project

README

        



☢️ Console Logger with Emoji Support



Build Status
Code Style

## Install

```bash
npm install mija
```



## Usage

Screenshot

```js
const mija = require('mija');

mija.success('Success!');
```
## API

```js
mija.option(text);
```
or
```js
mija.custom(emoji, text);
```

**option**

Any available [option](https://github.com/xxczaki/mija#options).

**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`

## Related

* [xa](https://github.com/xxczaki/xa) - Simple console logger, that works in Node.js, Electron and the Browser

### License

MIT