flat-http-patch

Few extra methods for the Node HTTP class.

npm install flat-http-patch
1 downloads in the last week
4 downloads in the last month

Description

Few extra methods for the Node HTTP class.

Installation

npm install flat-http-patch

Usage


require('flat-http-patch');

var http = require('http');

http.createServer(function(req, res) {
  res.json({
    message: 'hi'
  });

  res.redirect('http://www.google.com');
});
npm loves you