Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

console-emoji

ellerbrock189MIT0.0.2

console.log messages with emoji support and color

console, console.log, console-emoji, color, color-log, emoji, emojis

readme

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

changelog

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.0.2 (2016-11-06)

Bug Fixes

  • babel: add preset add-module-exports (c16bad4)

0.0.1 (2016-11-06)