Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattiaerre/express-favicon-short-circuit
express-favicon-short-circuit is an Express middleware that eliminates those annoying favicon requests.
https://github.com/mattiaerre/express-favicon-short-circuit
express-middleware favicon jest
Last synced: 3 months ago
JSON representation
express-favicon-short-circuit is an Express middleware that eliminates those annoying favicon requests.
- Host: GitHub
- URL: https://github.com/mattiaerre/express-favicon-short-circuit
- Owner: mattiaerre
- License: mit
- Created: 2016-08-24T20:24:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T05:50:29.000Z (almost 5 years ago)
- Last Synced: 2024-04-25T20:04:01.809Z (10 months ago)
- Topics: express-middleware, favicon, jest
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-favicon-short-circuit
**express-favicon-short-circuit** is an Express middleware that eliminates those annoying **favicon** requests.
## Usage
Npm install using the following command:
```
npm i -S express-favicon-short-circuit
```And use it in your **Express** app:
```javascript
const express = require('express');// omissis
const app = express();
// omissis
app.use(require('express-favicon-short-circuit'));
```## Example
Clone or download this GitHub repository then run the example app using the following npm commands:
```
npm i
npm run example
```## Based on
[https://gist.github.com/kentbrew/763822](https://gist.github.com/kentbrew/763822)