{"name":"globject","version":"1.0.1","description":"Get values by glob-like keys","main":"index.js","scripts":{"test":"node test/index.js | tap-spec"},"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":{"tap-spec":"^2.1.2","tape":"^3.0.3"},"dependencies":{"minimatch":"^2.0.1"},"gitHead":"16fdbb32f190ba2e114be58ce08f6663738d88a6","homepage":"https://github.com/scottcorgan/globject","_id":"globject@1.0.1","_shasum":"87aae7f8546a92782476a8845d8c7197bb2899fe","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"87aae7f8546a92782476a8845d8c7197bb2899fe","tarball":"http://registry-npm.ywwl.com/globject/download/globject-1.0.1.tgz","integrity":"sha512-VLJPaEJGT/45w+kTVEvANPSVPUz89VMUKzfgNoFecB3E+GIMeac0Id/SVJhtXypkS3g5QejtidAEYkOZe432tQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL5fEW/+b64Xm4aw+jWpcMD9PxuVlpIIftBSMoqoMP9wIhAP0kuEXauX5yTw1au94VplJnBCrsrAFdSdlYu81AvXS0"}],"size":1542,"noattachment":false,"key":"/globject/-/globject-1.0.1.tgz"},"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":1421260225218,"_cnpm_publish_time":1421260225218,"dist-tags":{"latest":"1.0.2"}}