transform-header
v0.0.1
Published
Express Middleware to Transform a Header to either a Request Property or another Header.
Downloads
2
Maintainers
Readme
transform-header
Express Middleware for Transform a Header to either a Request Property or another Header.
Install
NPM
$ npm install transform-header
Node.js
var express = require('express');
var requestType = require('transform-header');
var app = express();
app.use(transformHeader.property('X-HTTP-Method-Override', 'method'));
app.use(transformHeader.header('X-Accept', 'Accept'));