Nobody Preheats Microwaves
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    http-paramspublic

    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

    install

    npm i http-params

    Downloadsweekly downloads

    21

    version

    1.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar