0.0.3 • Published 11 years ago

request-parser v0.0.3

Weekly downloads
6
License
-
Repository
github
Last release
11 years ago

Request-Parser

Build Status

An extremely simple node.js http request parser.

Request Parser was born out of my frustration of having to choose between a huge middleware library and parsing POST requests myself.

Note

Request-Parser is still in an early alpha. It is very likely to break, and bug reports and commits are very welcome.

Goals

  • Super simple
  • Minimalist
  • One call
  • Router agnostic

Example

var parse = require('request-parser');

// Wrap your route callback
parse(function(req, res){
	
	// Your callback will be wraped with a parser function.
	// It will be called once any post data is finished parsing.
	
	res.get
	res.post
	
	// Do Stuff
	
});

License

The MIT License.

0.0.3

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago