console-emoji

console.log messages with emoji support and color

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
console-emoji
19250.0.28 years ago8 years agoMinified + gzip package size for console-emoji in KB

Readme

Javascript JavaScript Style Guide Commitizen friendly Standard Version Open Source Love Gitter Chat
console.log messages with emoji support and color
console-emoji

Project Status

Build 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
TwitterFacebookGoogle+GitterGithub

License

Copyright (c) 2016 Maik Ellerbrock
MIT Licence