node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

poweredby

poweredby

Build Status

Add a X-Powered-By Header:

app.use(require('poweredby')('YOUR POWERED BY HEADER'))
=>  X-Powered-By: Fairy Dust

Remove X-Powered-By Header:

app.use(require('poweredby')(false))
=>

Mini Example:

var app = require('express')();
app.use(require('poweredby')('Fairy Dust'));
require('http').createServer(app).listen(3000);
➜ curl --head http://localhost:3000
HTTP/1.1 404 Not Found
X-Powered-By: Fairy Dust
Content-Type: text/html
Date: Tue, 25 Mar 2014 01:23:10 GMT
Connection: keep-alive