express-favicon-short-circuit

1.2.0 • Public • Published

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:

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    122
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    122
  • 1.1.1
    1
  • 1.1.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i express-favicon-short-circuit

Weekly Downloads

115

Version

1.2.0

License

MIT

Unpacked Size

5.42 kB

Total Files

8

Last publish

Collaborators

  • mattiaerre