Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/xxczaki/mija
- Owner: xxczaki
- License: mit
- Created: 2018-07-18T20:21:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T05:38:52.000Z (over 3 years ago)
- Last Synced: 2024-11-21T09:24:05.469Z (about 2 months ago)
- Topics: chalk, color, console-log, console-logger, emoji, log, logger, mija, nodejs, npm, package
- Language: TypeScript
- Homepage:
- Size: 24.4 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
☢️ Console Logger with Emoji Support
## Install
```bash
npm install mija
```## Usage
```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