Emoji-favicon is middleware for middlewared servers (connect, express). It ables to use emoji as favicon for web applications. It helps to identify application in tabs mess.
You can find all emojis at Emoji cheat sheet.
Totally based on emoji-images package.
Usage
Middleware get one string parameter. It should be emoji name. If such image not found it cause an error.
var connect = require('connect');
var emojiFavicon = require('emoji-favicon');
connect()
.use(emojiFavicon('smiley'));
// ...
Test
To see it in action do the following:
- Install via npm.
- Go to package directory in node_modules.
- Start example http server.
- Then open in browser http://localhost:8080/.
npm install emoji-favicon
cd node_modules/emoji-favicon
npm start