{"_id":"request-arguments-parser","_rev":"5-08de7a89b7ac9c197fae9eee5673fa62","name":"request-arguments-parser","description":"retrieve express request arguments whether they are in GET, POST or JSON body params","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"request-arguments-parser","version":"0.1.0","description":"retrieve express request arguments whether they are in GET, POST or JSON body params","main":"RequestArgumentsParser.js","scripts":{"test":"mocha test --reporter spec"},"repository":{"type":"git","url":"git://github.com/nherment/node-request-arguments.git"},"keywords":["express","params","request","arguments","parse"],"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/nherment/node-request-arguments/issues"},"homepage":"https://github.com/nherment/node-request-arguments","devDependencies":{"mocha":"1.18.2"},"dependencies":{"object-tree":"^0.2.0","underscore":"^1.6.0"},"_id":"request-arguments-parser@0.1.0","dist":{"shasum":"5077786859e484040f2f2ddb99f568f2252a8356","tarball":"https://registry.npmjs.org/request-arguments-parser/-/request-arguments-parser-0.1.0.tgz","integrity":"sha512-/jnnJU4jBT8is/63BnrUCcX3xp13H+rIZBN8bzwxVvxJRu0SmJfAjJYQ/qaPi3IuVhqT41LKAOD5HDhyorwCgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAL9b5TZNIArEQlaVG3hjED1uYixsmkGl/lShqENocEiAiAgGw+zMSG+yQHNywBd7CwjXxyi281FKzhJQp2kcTJi3g=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"nherment","email":"nherment@gmail.com"},"maintainers":[{"name":"nherment","email":"nherment@gmail.com"}]}},"readme":"\nParses a HTTP request argument, regardless of whether it is a GET, POST form, JSON or route parameter.\n\nCurrently only work with express requests.\n\nIf an argument key is on passed multiple times (ie: GET /api/<service1>?service=<service2>) only one is return. The\nfollowing hierarchy is respected (the first encounter wins)\n\n1. route ==> /api/:variable\n2. body ==> {\"variable\": [..]}\n3. get param ==> /api?variable=[..]\n\nYou have to prepare the request with the connect.bodyParser, json or/and urlencoding middleware.\n\n","maintainers":[{"name":"nherment","email":"nherment@gmail.com"},{"name":"rjrodger","email":"richard.rodger@nearform.com"}],"time":{"modified":"2022-06-26T11:29:21.211Z","created":"2014-03-20T10:04:00.023Z","0.1.0":"2014-03-20T10:04:00.023Z"},"homepage":"https://github.com/nherment/node-request-arguments","keywords":["express","params","request","arguments","parse"],"repository":{"type":"git","url":"git://github.com/nherment/node-request-arguments.git"},"author":{"name":"Nicolas Herment","email":"nherment@gmail.com"},"bugs":{"url":"https://github.com/nherment/node-request-arguments/issues"},"license":"MIT","readmeFilename":"README.md"}