{"name":"globject","version":"0.1.0","description":"Get values by glob-like keys","main":"index.js","scripts":{"test":"node test/index.js | node_modules/.bin/tspec"},"repository":{"type":"git","url":"https://github.com/scottcorgan/globject.git"},"keywords":["glob","key","value","object"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/globject/issues"},"devDependencies":{"tape":"~2.3.2","tap-spec":"~0.1.3"},"dependencies":{"minimatch":"~0.2.14"},"_id":"globject@0.1.0","dist":{"shasum":"fe497feefb27d428760005f0b2687c8274fe9d86","tarball":"http://registry-npm.ywwl.com/globject/download/globject-0.1.0.tgz","integrity":"sha512-rZdAdNIh3T8AwS/tY+4AiabN67xPLgX2bZUW7SlbLfcCkJy5LKIgOkw+Lcbqth8zKYhf3oubRtyIKA5ad16eaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF470reG6uiB9AV7IVvdbJeb7dVac0J62SbVo4/d/upEAiEA1stGE7q6yHaA/6yOq6EtnHm0wqe4BEnHQCtJD2dQlS0="}],"size":1119,"noattachment":false,"key":"/globject/-/globject-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"readme":"# globject\n\nGet values by glob-like keys\n\n## Install\n\n```\nnpm install globject --save\n```\n\n## Usage\n\n```js\nvar globject = require('globject');\nvar routes = {\n  '**/about/**': 'about.html',\n  '**': 'index.html'\n};\n\nvar routesObj = globject(routes);\n\nconsole.log(routesObj('/about/somepage.html')); // OUTPUTS: about.html\nconsole.log(routesObj('/any/route.html'')); // OUTPUTS: index.html\n```\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```","publish_time":1389897495160,"_cnpm_publish_time":1389897495160,"dist-tags":{"latest":"1.0.2"}}