1.0.1 • Published 10 years ago

http-params v1.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
10 years ago

http-params

Build Status

Easy access to http parameters.

usage

var http = require('http'),
    parse = require('http-params')

http.createServer(function (req, res) {
  parse(req, function (err, params) {
    console.log(JSON.stringify(params))
  })
}).listen(7734)

For GET and DELETE requests, the query string object is parsed and returned. For POST and PUT requests, the form body is collected, parsed, and returned.

license

MIT

1.0.1

10 years ago

1.0.0

10 years ago

0.0.9

10 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago