console-emoji
v0.0.2
Published
console.log messages with emoji support and color
Downloads
241
Maintainers
Readme
console-emoji
console.log messages with emoji support and color
Project Status
install with npm
npm install --save console-emoji
install with yarn
yarn add console-emoji
Example
ES5
var log = require('console-emoji')
ES6
import log from 'console-emoji'
Examples
// log without colors and emojis
log('normal log ...')
// log with color and emojis
log('success ...', 'ok')
log('warning ...', 'warn')
log('error ...', 'err')
// text with emojis
log(':sparkles: :star: :star: :dizzy: i like emojis :two_hearts: :sparkling_heart: :revolving_hearts:')
log('damn error :rage:', 'err')
// color text
log('just some red text', 'red')
log('green text with a kitten :smile_cat:', 'green')
Contact / Social Media
Get the latest News about Web Development, Open Source, Tooling, Server & Security
License
Copyright (c) 2016 Maik Ellerbrock