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.
$ bower install console-iconor
npm install
npm install -g browserify
npm run build
// output: dist/console.icon.js// use your iconname of first parameter.
console.icon("beer");output : 🍺
// the second parameter as your message
console.icon("beer", "Cheers!");output : 🍺 Cheers!
goooood. Isn't it?
Simple include js file into your html.
<script src="dist/console.icon.js"></script>- Supported every emojis anymore. (Eray Arslan)
- Supported multiple arguments anymore. (Barış Güler)
Copyright (c) 2016 Ahmet Ozan Tekin
The MIT License