express-the-cheat

0.0.1 • Public • Published

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!

Readme

Keywords

none

Package Sidebar

Install

npm i express-the-cheat

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • jergason