Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (24 sloc) 808 Bytes

#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!