console-emoji

0.0.2 • Public • Published

console-emoji

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

Package Sidebar

Install

npm i console-emoji

Weekly Downloads

36

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ellerbrock