ahmetozantekin / console.icon

Use icons your console log messages. It's console.icon()

Home Page:http://codepen.io/ahmetozantekin/pen/qaVKkV?editors=1112

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

console.icon

npm version

console.icon, the easiest way use simple icons in your browser console. Run in vanilla.js and supported by every modern browsers.

You can see a simple demo here.

Build

$ bower install console-icon

or

npm install
npm install -g browserify
npm run build 
// output: dist/console.icon.js

Preview

simple, only icon.
// use your iconname of first parameter.
console.icon("beer");

output : 🍺

more simple, icon and logging
// the second parameter as your message
console.icon("beer", "Cheers!");

output : 🍺 Cheers!

goooood. Isn't it?

Usage

Simple include js file into your html.

<script src="dist/console.icon.js"></script>

Icons

List of emoji cheat sheet

Contributers

License

Copyright (c) 2016 Ahmet Ozan Tekin

The MIT License

About

Use icons your console log messages. It's console.icon()

http://codepen.io/ahmetozantekin/pen/qaVKkV?editors=1112

License:MIT License


Languages

Language:JavaScript 100.0%