0.3.0 • Published 8 years ago
emoji-favicon v0.3.0
Emoji-Favicon
Emoji-favicon is middleware for creating nice emoji favicons. It can be used with servers like connect or express.
Installation
Instal via npm:
$ npm i emoji-favicon
Usage
Middleware has one argument. It should be emoji name. If emoji not found it throws an error.
var express = require('express');
var emojiFavicon = require('emoji-favicon');
express().use(emojiFavicon('smiley'));
// ...
Works both with express and connect.
Credentials
Emoji list at Emoji cheat sheet.
Based on emoji-img package.
License
MIT.