https://github.com/rumkin/emoji-favicon
Emoji-favicon middleware
https://github.com/rumkin/emoji-favicon
Last synced: about 1 year ago
JSON representation
Emoji-favicon middleware
- Host: GitHub
- URL: https://github.com/rumkin/emoji-favicon
- Owner: rumkin
- License: other
- Created: 2016-10-02T05:04:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-23T14:09:53.000Z (over 9 years ago)
- Last Synced: 2025-03-01T17:06:40.756Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
$ npm i emoji-favicon
```
## Usage
Middleware has one argument. It should be emoji name. If emoji not found it throws an error.
```javascript
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](http://www.emoji-cheat-sheet.com/).
Based on [emoji-img](http://npmjs.org/package/emoji-img) package.
## License
MIT.