0.3.0 • Published 8 years ago

emoji-favicon v0.3.0

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

Emoji-Favicon

Emoji-favicon is middleware for creating nice emoji favicons. It can be used with servers like connect or express.

Build

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.