{"_id":"perry","_rev":"45-d0001df9152e06e388ca04f79f08dd73","name":"perry","description":"Multi-dimensional query string parser and generator","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.9":{"name":"perry","description":"Multi-dimensional query string parser and generator","version":"0.0.9","keywords":["multi-dimension","querystring","parser","generator"],"engines":{"node":"*"},"main":"index","author":{"name":"Marc Greenstock","email":"hello@marcgreenstock.com","url":"http://marcgreenstock.com"},"repository":{"type":"git","url":"git://github.com/marcgreenstock/node_perry.git"},"licenses":[{"type":"Creative Commons","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"_id":"perry@0.0.9","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.4.7","dist":{"shasum":"8ef3277e2bef3ae523fcda07fc1b265c34355780","tarball":"https://registry.npmjs.org/perry/-/perry-0.0.9.tgz","integrity":"sha512-sjw0TFu1YphLR8sKBhK1kjaSrEs2FEImhlsKdE81TDrjWMqmwRrury0t5unTHCy/cF90j9Ti7rA0i9t/XdDyYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVGh/bxkK4ijLIxO0t/m5auNMYMl36eLjPx/3nRi+GNQIhAMeNxZ4fvpvpzzMipmWF8y8xtm1Ll0PgO/lRXYdwDpL0"}]},"directories":{}},"0.1.0":{"name":"perry","description":"Multi-dimensional query string parser and generator","version":"0.1.0","keywords":["multi-dimension","querystring","parser","generator"],"engines":{"node":"*"},"main":"index","author":{"name":"Marc Greenstock","email":"hello@marcgreenstock.com","url":"http://marcgreenstock.com"},"repository":{"type":"git","url":"git://github.com/marcgreenstock/node_perry.git"},"licenses":[{"type":"Creative Commons","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"_id":"perry@0.1.0","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.4.8","dist":{"shasum":"f9fc90dca47847c61ef98649433f44dd1dd1d9f2","tarball":"https://registry.npmjs.org/perry/-/perry-0.1.0.tgz","integrity":"sha512-G7b5R7aHeuhTeBHDdG13RiPT7rJ80keQqxGdGhGXDH3/5+XzE3f7cqWxAVHc8lfT4tCq489V9EAhRDxRXWapww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQR4TRvwiU9HZNasiirYSYVmvgo8K6BB5AEbV0dSeG8QIhAPgXPomJ5C0XC8JuR6jzubp63YbrKpDuY443cHtlyYLn"}]}},"0.1.1":{"name":"perry","description":"Multi-dimensional query string parser and generator","version":"0.1.1","keywords":["multi-dimension","querystring","parser","generator"],"engines":{"node":"*"},"main":"index","author":{"name":"Marc Greenstock","email":"hello@marcgreenstock.com","url":"http://marcgreenstock.com"},"repository":{"type":"git","url":"git://github.com/marcgreenstock/node_perry.git"},"licenses":[{"type":"Creative Commons","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"_id":"perry@0.1.1","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.2.4","dist":{"shasum":"bc7bb10bec3eca1ad5f24c31fa9460f0377de95a","tarball":"https://registry.npmjs.org/perry/-/perry-0.1.1.tgz","integrity":"sha512-XPBiSdcVSLeznYcuE3xakaA6wU6s07HJirvLI/Q4HCljXJteSyVnSLC+/7K5SaOrEzKNqWtTMLoWlkZ9lp52Cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEjEAH6P3a4u3X8Kj2MoJrvD5jSCi0ZvCgwCLjWa22OAiANR5YztShRXf5GYGqc1KBUR88kqRVwkB4IcuOt63IBgg=="}]}},"0.1.2":{"name":"perry","description":"Multi-dimensional query string parser and generator","version":"0.1.2","keywords":["multi-dimension","querystring","parser","generator"],"engines":{"node":"*"},"main":"index","author":{"name":"Marc Greenstock","email":"hello@marcgreenstock.com","url":"http://marcgreenstock.com"},"repository":{"type":"git","url":"git://github.com/marcgreenstock/node_perry.git"},"licenses":[{"type":"Creative Commons","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"_id":"perry@0.1.2","_nodeSupported":true,"_npmVersion":"0.2.12-1","_nodeVersion":"v0.4.8","dist":{"shasum":"bf8207f68e25b5a1c24ef423f1fe83f97c93ee35","tarball":"https://registry.npmjs.org/perry/-/perry-0.1.2.tgz","integrity":"sha512-rhnGKN/W6xRAzOprdSLOb2sGj5lPib3D0DTT1alXKrg5HGnDhVmPpYhz5BJYcwatxm2xXXRp8vnoEWnvKUBF4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTzOlyQQtxAWAGlUBb02fm5NJC6zYunyrno9bK3GO7MAiA/ol3Q3xmYWNUD49spj+5ohLmVsG4iXQGxCSM+DUC8SA=="}]}},"0.1.3":{"name":"perry","description":"Multi-dimensional query string parser and generator","version":"0.1.3","keywords":["multi-dimension","querystring","parser","generator"],"engines":{"node":"*"},"main":"index","author":{"name":"Marc Greenstock","email":"hello@marcgreenstock.com","url":"http://marcgreenstock.com"},"repository":{"type":"git","url":"git://github.com/marcgreenstock/node_perry.git"},"licenses":[{"type":"Creative Commons","url":"http://creativecommons.org/licenses/by-sa/3.0/"}],"readme":"Perry\n===\n\nMulti-dimensional query string parser and generator.\n\nInstall:\n\n    npm install perry\n\nRequire Perry:\n\n    var Perry = require('perry');\n\nPerry.stringify usage:\n\n    Perry.stringify({\n      foo: {\n        first: {\n          second: {\n            third: 'bar'\n          },\n          another: [23,42]\n        }\n      }\n    });\n\nReturned result:\n\n    foo[first][second][third]=bar&foo[first][another][0]=23&foo[first][another][1]=42\n\nPerry.parse usage:    \n\n    Perry.parse('foo[0][bar][0]=meh&foo[0][bar][1]=beh&foo[1][bar][0]=teh');\n    \nReturned result:\n\n    {\n      foo: [{\n        bar: ['meh','beh']\n      },{\n        bar: ['teh']\n      }]\n    }\n    \nPerrry.parse a query string with empty braces will create an index array beginning with 0:\n\n    Perry.parse('foo[]=bar&foo[]=mah');\n\nReturned result:\n    \n    {\n      foo: ['bar','meh']\n    }\n\nPerry.parse a query strings with a numerical index will associate an array with identical indexes:\n\n    Perry.parse('foo[0]=bar&foo[2]=mah');\n    \nReturned result: \n    \n    {\n      foo: ['bar',undefined,'mah]\n    }\n    \nNotice the undefined at index 1, this is to keep the array indexes consistent since foo[1] isn't present in the query string. The alternative would be to create a numerically indexed object which may not be expected behaviour considering an array is expected.\n\nTest:\n\n    node test/test-perry.js\n\n","readmeFilename":"README.md","_id":"perry@0.1.3","dist":{"shasum":"e796708451f3dc2318d753196fd1d8ed3ab3966f","tarball":"https://registry.npmjs.org/perry/-/perry-0.1.3.tgz","integrity":"sha512-n/uzTbbS6pgbSBPd0rjxUc0Y1A/PPlYXC5pEsVdkO8uTOYXws6/rYUCQvysbApWZWnHfo10jQbpoOEO5imsoRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrQmJSzZD+PNBkTx0ARFIJ186ayQ6yGklZGdff5L31hwIhAISHv20fekJqysTidDE92RlLC/nNGeoDo3oV26193L+t"}]},"_from":"./","_npmVersion":"1.2.10","_npmUser":{"name":"marcgreenstock","email":"marc@marcgreenstock.com"},"maintainers":[{"name":"marcgreenstock","email":"marc@marcgreenstock.com"}]}},"maintainers":[{"name":"marcgreenstock","email":"marc@marcgreenstock.com"}],"time":{"modified":"2022-06-23T18:47:42.363Z","created":"2011-06-12T22:49:29.733Z","0.0.1":"2011-06-12T22:49:30.171Z","0.0.2":"2011-06-13T06:46:05.402Z","0.0.3":"2011-06-13T06:49:05.248Z","0.0.4":"2011-06-13T06:55:45.572Z","0.0.5":"2011-06-13T06:57:35.733Z","0.0.6":"2011-06-13T07:28:29.406Z","0.0.7":"2011-06-14T08:29:59.732Z","0.0.8":"2011-06-15T12:08:26.922Z","0.0.9":"2011-06-18T18:33:11.764Z","0.1.0":"2011-06-22T19:54:39.313Z","0.1.1":"2011-06-23T15:28:50.058Z","0.1.2":"2011-06-23T15:57:32.926Z","0.1.3":"2013-02-20T10:23:28.847Z"},"author":{"name":"Marc Greenstock","email":"hello@marcgreenstock.com","url":"http://marcgreenstock.com"},"repository":{"type":"git","url":"git://github.com/marcgreenstock/node_perry.git"}}