console.icon
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
- Supported every emojis anymore. (Eray Arslan)
- Supported multiple arguments anymore. (Barış Güler)
License
Copyright (c) 2016 Ahmet Ozan Tekin
The MIT License