Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An express middleware that lets everyone know your app is powered by The Cheat.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
main.js
package.json

README.md

express-the-cheat

Do you use Express?

Are you sick of that x-powered-by: Express header that Express puts in by default?

Do you wish your HTTP headers were slathered in awesomesauce?

Do you think everything that is powered by anything should be powered by the Cheat?

Then express-the-cheat is the middleware for you!

Installation

npm install express-the-cheat

Usage

var express = require('express')
  , app
  , expressTheCheat = require('express-the-cheat')
  ;

  app = express.createServer();
  app.use(expressTheCheat());
  app.get('/', function (req, res, next) {
    res.ok();
  });
  app.listen(5555);

Now all your responses should have an awesome x-powered-by: The Cheat header!

Something went wrong with that request. Please try again.