0.0.1 • Published 12 years ago

express-the-cheat v0.0.1

Weekly downloads
5
License
-
Repository
github
Last release
12 years ago

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