{"_id":"express-query-boolean","_rev":"9-3d73cbeb5ab899660565982c6d35789c","name":"express-query-boolean","description":"Convert query strings to dates for express/connect applications.","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"express-query-boolean","version":"1.0.0","description":"Convert query strings to dates for express/connect applications.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mariusc23/express-query-boolean.git"},"keywords":["express","connect","true","false","boolean"],"author":{"name":"Marius Craciunoiu","url":"http://www.mariusc23.com/"},"license":"MIT","bugs":{"url":"https://github.com/mariusc23/express-query-boolean/issues"},"homepage":"https://github.com/mariusc23/express-query-boolean","devDependencies":{"grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.0","grunt-contrib-nodeunit":"^0.4.1","jshint-stylish":"^1.0.1","load-grunt-tasks":"^3.1.0"},"gitHead":"f8c7ed788e33a91f1d6de188b8e2e7b0378674a9","_id":"express-query-boolean@1.0.0","_shasum":"f2007eb97ffe1b8354fc4cbe3ec0e68e732966b2","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"mariusc23","email":"marius@craciunoiu.net"},"maintainers":[{"name":"mariusc23","email":"marius@craciunoiu.net"}],"dist":{"shasum":"f2007eb97ffe1b8354fc4cbe3ec0e68e732966b2","tarball":"https://registry.npmjs.org/express-query-boolean/-/express-query-boolean-1.0.0.tgz","integrity":"sha512-ch0hDgQHv49BMc2qOiiUBsT1Tg23684X9CykxwleF5vK2AkuUsWMhojapuEoXQ5tYLQeRFAn2OB9QZTHPxdbLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGx61FMMnAWm6zWlN+9Pm2CyvPjeAxlN3r05KYgxT7kwIhAM6zHi314hIQuKk0p0YeXNoPsDrBoQKhe/BLpALP/GQ5"}]}},"2.0.0":{"name":"express-query-boolean","version":"2.0.0","description":"Convert query strings to dates for express/connect applications.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/mariusc23/express-query-boolean.git"},"keywords":["express","connect","true","false","boolean"],"author":{"name":"Marius Craciunoiu","url":"http://www.mariusc23.com/"},"license":"MIT","bugs":{"url":"https://github.com/mariusc23/express-query-boolean/issues"},"homepage":"https://github.com/mariusc23/express-query-boolean","devDependencies":{"grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.11.0","grunt-contrib-nodeunit":"^0.4.1","jshint-stylish":"^1.0.1","load-grunt-tasks":"^3.1.0"},"gitHead":"e35c21410338ef64c3274e187745b3775daa57c5","_id":"express-query-boolean@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"mariusc23","email":"m@m23.io"},"dist":{"integrity":"sha512-4dU/1HPm8lkTPR12+HFUXqCarcsC19OKOkb4otLOuADfPYrQMaugPJkSmxNsqwmWYjozvT6vdTiqkgeBHkzOow==","shasum":"ea56ac8138e2b95b171b8eee2af88738302941c3","tarball":"https://registry.npmjs.org/express-query-boolean/-/express-query-boolean-2.0.0.tgz","fileCount":10,"unpackedSize":7808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5sNIkxhr74TGpbZuZxGGGqSlZ8Sr+54Bi8az7v7yKhQIhAKSPqTWOplaz8AUuFqr7XECsWMnr6AP/wOAWfp6kHqJf"}]},"maintainers":[{"email":"m@m23.io","name":"mariusc23"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-query-boolean_2.0.0_1519233246721_0.3837008300490332"},"_hasShrinkwrap":false}},"readme":"express-query-boolean\n==================\n\n> Convert query strings to dates for express/connect applications.\n\n[![npm](https://img.shields.io/npm/v/express-query-boolean.svg)](https://www.npmjs.com/package/express-query-boolean)\n[![build status](https://travis-ci.org/mariusc23/express-query-boolean.svg)](https://travis-ci.org/mariusc23/express-query-boolean)\n\n\n## Installation\n\n    npm install --save express-query-boolean\n\n\n## Getting Started\nThe module will recursively attempt to parse every property in `req.query`.\n\nLoad it right after `bodyParser`:\n\n```js\nvar boolParser = require('express-query-boolean');\n\n// [...]\n\napp.use(bodyParser.json());\napp.use(boolParser());\n```\n\n#### Without\n```js\n// ?a=true&b[c]=false\nconsole.log(req.query);\n// => { a: 'true', b: { c: 'false' } }\n```\n\n#### With\n```js\n// ?a=true&b[c]=false\nconsole.log(req.query);\n// => { a: true, b: { c: false } }\n```\n\n\n## License\nCopyright (c) 2015 Marius Craciunoiu. Licensed under the MIT license.\n","maintainers":[{"email":"m@m23.io","name":"mariusc23"}],"time":{"modified":"2022-06-17T22:32:05.069Z","created":"2015-02-28T22:54:25.415Z","1.0.0":"2015-02-28T22:54:25.415Z","2.0.0":"2018-02-21T17:14:06.777Z"},"homepage":"https://github.com/mariusc23/express-query-boolean","keywords":["express","connect","true","false","boolean"],"repository":{"type":"git","url":"git+https://github.com/mariusc23/express-query-boolean.git"},"author":{"name":"Marius Craciunoiu","url":"http://www.mariusc23.com/"},"bugs":{"url":"https://github.com/mariusc23/express-query-boolean/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mikestaub":true,"elussich":true}}