{"_id":"barista","_rev":"56-2efe0722672f19f57e9eb0eb24977265","name":"barista","description":"URL router & generator, similar to Rails / merb","dist-tags":{"latest":"0.5.3"},"versions":{"0.0.1":{"name":"barista","description":"URL router / generator","version":"0.0.1","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista.git"},"main":"./index.js","engines":{"node":">= 0.3.0"},"_id":"barista@0.0.1","_engineSupported":true,"_npmVersion":"1.0.1rc5","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"5ce592c410340445b4cbbdea946acd0d175e50cf","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.1.tgz","integrity":"sha512-1ozLpbc2tujXhheiGszF/LLwPRKBQEpfusik8S4vPTxznY3kZ59Jijoz9SlNGYfz/q8+rDejTOUbx1k8061qIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtLiySXST1DpM+4Dj6JYqLkdNc+7aOJzJMIK9SDtI/9AiBkOjNKxCmeRbP+Vc03eIuNCKv/wPYplf543ZguFff2sg=="}]},"directories":{}},"0.0.2":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.2","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista.git"},"main":"./index.js","engines":{"node":">= 0.3.0"},"_id":"barista@0.0.2","_engineSupported":true,"_npmVersion":"1.0.1rc5","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"51be860248978b29efda24dd5f91c81f77d01cbf","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.2.tgz","integrity":"sha512-HVuynU//qcfrbS4SYVTmFico4TmzVUKjpMRadebZ8CykvbFJFUUU6n+bU0tpYKpK95eUP721ToF41hpnZBc3+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpI3qrauDIco9fbQ9a9rdyTs6aUkoaQ358hvcXSVh5hAiAyZpFi6hBZbAofYI4jVZ42OAq/9tPbAtwsA5cQ1vYFbg=="}]},"directories":{}},"0.0.3":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.3","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista.git"},"main":"./index.js","engines":{"node":">= 0.3.0"},"_id":"barista@0.0.3","_engineSupported":true,"_npmVersion":"1.0.1rc5","_nodeVersion":"v0.5.4","_defaultsLoaded":true,"dist":{"shasum":"f4a96343f244596c6b01c41abf1ef471987517a6","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.3.tgz","integrity":"sha512-y77POYCRqiBSQW8zJq7VhBWbQjTv1J9k1DXmbTOmSkvQ3uoO7TAwoUZdGqDKhGxyKOxg8Llj55VM8nX6Tqb28w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDKVqwHudx1KcH4S3RSYEfAiN1a1k1IHEZhE52ZnsJeXAiBno6dBtwFW2i41rM4St8JB97GbJRPrRJfKgmY8UvZW7A=="}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.4":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.4","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista.git"},"main":"./index.js","engines":{"node":">= 0.3.0"},"_npmJsonOpts":{"file":"/Users/kieran/.npm/barista/0.0.4/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"barista@0.0.4","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.26","_nodeVersion":"v0.5.4","_defaultsLoaded":true,"dist":{"shasum":"9d040664f4f27bf83b82c8552ee0c25b3c0afd57","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.4.tgz","integrity":"sha512-KvQFCC8McomIdAbbukJOuZIEkUTzyWdEu78nHTz09fn7EDdvBji3CgBQUW2pSG+MlVi7bSB+MTcOhFo3xmhyfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFwh8HF7L1DRePeqz6F/OZbpkb5jg7mlujDJdjUHwq1mAiEAl18uL3l7ECyIdwyQm00ZPaogY29lnqTHcYo4SacI+oY="}]},"scripts":{},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.5":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.5","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista.git"},"main":"./index.js","engines":{"node":">= 0.3.0"},"_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"_id":"barista@0.0.5","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.10","_defaultsLoaded":true,"dist":{"shasum":"b5a69ebbee66ea32b369e541ead3d05a721f2e87","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.5.tgz","integrity":"sha512-dwayEnc4tgYyGqgwtJFZAfhHAe5q1GubXbQV6dIfQ5gdXAetXvqnRL3DBZCppIdFOV1ZxktmwNsBe0TzdQ9uow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzV00d3VUL0T2U/1IyU0FEFm74Hr/4kOTuzHbWpPZxbAIgaXXeyk/Pq2ThpgfKLYHIXoWBB/cQynDAyscHjlx6M6Y="}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.6":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.6","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista"},"main":"./index.js","engines":{"node":">= 0.3.0"},"_id":"barista@0.0.6","dist":{"shasum":"065aa0819ce7ed4f9068effea04268df7dec43a9","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.6.tgz","integrity":"sha512-SfSqJcxSFy/jit/VIIKFKkAXGuyOao4JBl7EF1bBmA4GEs62k+Jxv9pIWYTCTi1YGgRMMoG4mttEMvu2uG4HdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJXhUPYvLRn5q8FJDwhwKR2pp24ql0mnH9mtlozFamuQIhAP35BJ4A114GZCh5BJceXcQlLodSwnEVP7Q/C1W2sMxn"}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.7":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.7","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista"},"main":"./index.js","engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"_id":"barista@0.0.7","dist":{"shasum":"83667d99a3fd9e736dde1ea63cf516de1a196324","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.7.tgz","integrity":"sha512-o4TsESJCvbnIcT1251djUszJC73dc8DcOGd1jgxKsMoEHETCANZh5t35DGGkxHGOUNBVhX1Ui3LMufNIRptWwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMdzfCRWMShqUaPDWXcKqYE7xNc6KUcBvzykEmoAK0aAiEA2dm0+nP2drmUoHFqZHqkQUhByMhJBHRoZHpwKNnfPTw="}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.8":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.8","author":{"name":"Kieran Huggins","email":"kieran@kieran.ca"},"repository":{"type":"git","url":"git://github.com/kieran/barista"},"main":"./index.js","engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"_id":"barista@0.0.8","dist":{"shasum":"beca04993b0f58462b541b8a640d7ac8bfcfe945","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.8.tgz","integrity":"sha512-o4UGYLew8hXwaBYh6mBs1crp3Jyd72ieMDag2FXqKJmGC1uusvQ2K3cDEG2hPNYNByEoyY/L2rIpGXleRlIxtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2WS1zqtkeUSpH7Ez+/TRjIKoR2fi+wrkCKimqLHU9YAiEAkl9fX1sK0YA3lks5BJdj7oFRPb2CkXoQuRb0J1283ek="}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.9":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.9","homepage":"http://kieran.github.io/barista/","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"main":"./index.js","scripts":{"prepublish":"./node_modules/.bin/coffee -c ./lib/","test":"./node_modules/.bin/mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"_id":"barista@0.0.9","dist":{"shasum":"52af5c246d718feb9b4ad1f509fd7044e690f15c","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.9.tgz","integrity":"sha512-zZ980c2AQepRpsi2Auj1+zmDFjO1tVoINOTIIVYwIJ6mfG5z18m8LD/dY2l/Yj7sMqTa/krBXPeN6Ucz6IQMAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8A130y2d3cSyi/pZdtQhDyxKGPb7l+7eIQoUKapBG8QIhANQdP64fEkzI4m9n2RwqwNEYV1WkH5fH2MBfoMm6D9w2"}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"directories":{}},"0.0.10":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.0.10","homepage":"http://kieran.github.io/barista/","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"./node_modules/.bin/coffee -c ./lib/","test":"./node_modules/.bin/mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"_id":"barista@0.0.10","dist":{"shasum":"e442b684b913fa469d00f21b27d61ae424b68271","tarball":"https://registry.npmjs.org/barista/-/barista-0.0.10.tgz","integrity":"sha512-C7N+yDdx6yUg7BT+xF+PV31KHOmyC+pjGJBT/oQFvozBDj2gu026FZrkSF165vKf4d2MxQHB3uefUqnCUw+FmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFjAN3/+BZL+FWU7Y2IvYkn3VfCtSKzeMNCacYJrLbiwIhAIYbpdMTPQGsprQSUukyVWT+Qhbvdj3J6IhTDKSScV26"}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}]},"0.1.0":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.1.0","homepage":"http://kieran.github.io/barista/","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"./node_modules/.bin/coffee -c ./lib/","test":"./node_modules/.bin/mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"_id":"barista@0.1.0","dist":{"shasum":"79e727306208f7495df3d61b3c2c3fb1d7c39f79","tarball":"https://registry.npmjs.org/barista/-/barista-0.1.0.tgz","integrity":"sha512-a4d3kJhpKwqY7Y7vPGddKFWeHLKNlPjc8u2NCXcdhmlXPDRJqHneo6sNyjYihdxG3lbGR+xdPR+GxEg09TWwuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF6apDd5m+9au4AF1fl9X+EJUqEt8MugwRvWtm4hi6FNAiEA011sZxjHE1vgap3o09bFtQYYJYKzXHWziQ3Oso5KJVk="}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}]},"0.1.1":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.1.1","homepage":"http://kieran.github.io/barista/","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"./node_modules/.bin/coffee -c ./lib/","test":"./node_modules/.bin/mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"_id":"barista@0.1.1","dist":{"shasum":"0545b581e74081d03196c1e2d38c9fe1596eec5a","tarball":"https://registry.npmjs.org/barista/-/barista-0.1.1.tgz","integrity":"sha512-AMIa52gYqUrkIHyqkBNCXKIU0xcLg4DFap0xpPeaZUuI/NS0Ap4IIWT8a65MbtVO/1Hw4MRhteWO+NNC1EkqJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyBktr8d8GUgZTBVRlkryED1gy9dW22sXsIISM9j/m3QIhAP3h8HPqWRTvNXP6LbAJ8RJe9wTTrBOJkL2L5qwEkG7R"}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}]},"0.2.0":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.2.0","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"./node_modules/.bin/coffee -c ./lib/","test":"./node_modules/.bin/mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"_id":"barista@0.2.0","dist":{"shasum":"b6fc1b31488811bec1fcf1d5ea8bb3bdd9d5e716","tarball":"https://registry.npmjs.org/barista/-/barista-0.2.0.tgz","integrity":"sha512-t1JXO+fClcafUlDkBFpj1x4aedS9Xdchb1AulSt3lSmMjGSo20OQADaNP935NVZr6Iu0+yPaPKv14WOeF2TngA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGIbvH6Sc5+cKziZIDfPNnmuubhyOhwxfEteW4ljf5YAIgRPXQ5iXSlFo/rK2bZko+4Kldaziq0DMxI3I1ezGJ8xM="}]},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}]},"0.3.0":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.3.0","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"coffee -c ./lib/","test":"mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"_id":"barista@0.3.0","dist":{"shasum":"2bd02478bc43e46bc85221aae097fde5c0381fc1","tarball":"https://registry.npmjs.org/barista/-/barista-0.3.0.tgz","integrity":"sha512-mNYR1WILV7aXYT9reQdCXkKgto9drnwa987BEm8Of9h6LVqPBp+wIg060H+HBYwV7heWZTHrrEg0I3WFmdEWGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbn9rt1yxCiCCNwEmFkKmD5sCS4undfn7xvcnO47mJFAIhAKZtx0MW3/jCsXP83VkVo2sxehtIJm0Yst4uvtskJRKj"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}]},"0.4.0":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.4.0","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"coffee -c ./lib/","test":"mocha --reporter list --growl --compilers coffee:coffee-script tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*"},"devDependencies":{"coffee-script":"*","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"_id":"barista@0.4.0","dist":{"shasum":"d8c98031aa1f594e345e4cb96db64cf143d3cd2c","tarball":"https://registry.npmjs.org/barista/-/barista-0.4.0.tgz","integrity":"sha512-JGWQltOi+Xx22xVxlIOGZq/4ZmQVrfX7yzyDNW7emIDy+/9rpGev/VpHycP0JGbp1WIMOCzioC+cMZc+iYjirw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqQqOGgRwYChY1DKVtIaF+OcA3Ztks64W3FGJt8oy/xAiANCV9XxRpT0Wi6POJz6Lvqy6WN3OviAclWks1Yk6HjmA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}]},"0.5.0":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.5.0","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"coffee -c ./lib/","test":"mocha --reporter list --growl --compilers coffee:coffee-script/register tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script/register ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*","querystring":"0.2.0"},"devDependencies":{"coffee-script":"^1.9","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"gitHead":"e3a4ad3e0b0cb5e5cb31d178a8a80e93476536e8","_id":"barista@0.5.0","_shasum":"fae34bc2755d3150b9cf0a9c25bcd3347bbc73b4","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.36","_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"dist":{"shasum":"fae34bc2755d3150b9cf0a9c25bcd3347bbc73b4","tarball":"https://registry.npmjs.org/barista/-/barista-0.5.0.tgz","integrity":"sha512-Kvak7k/1JEiacmynPQ27EfDdl4w9Wt8ShbCK6P9QQiiyhz8Hb29w5ld2STNKsgFOz27I7xCKAcUWa+FrhXja4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyT+f7qaSl/ykPvZiZxD66mxBu7OdTcj7b3OnFGSQOwAIgVKvfnV2B9MLgj9C7GReUzI3ANjh0WYQGlqM4c257CaQ="}]}},"0.5.1":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.5.1","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"coffee -c ./lib/","test":"mocha --reporter list --growl --compilers coffee:coffee-script/register tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script/register ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*","querystring":"0.2.0"},"devDependencies":{"coffee-script":"1.9.0","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"gitHead":"c962ff7df56744c76207c7cf150cdebfc4cc0d0f","_id":"barista@0.5.1","_shasum":"9d2b9db5d5505ba19b5ee3dcfe30c41543f0f6a1","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"dist":{"shasum":"9d2b9db5d5505ba19b5ee3dcfe30c41543f0f6a1","tarball":"https://registry.npmjs.org/barista/-/barista-0.5.1.tgz","integrity":"sha512-tMmsOtXfmsHSDnLurcqI7HHl3cwb17mokrpNgFrneGh50WxIKohPPFUPw6B/DBL/Lk01fzOBRLF3aXAe5S1h7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUl+6XXy3+jPqz71ifGry964+Y2l//62f6k9CeuxEXzAiAzpTpwwX+2xQUKZ77Oed570QFnQ7aH86F4bSB+pV8mPw=="}]}},"0.5.2":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.5.2","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"coffee -c ./lib/","test":"mocha --reporter list --growl --compilers coffee:coffee-script/register tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script/register ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*","querystring":"0.2.0"},"devDependencies":{"coffee-script":"1.9.0","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"gitHead":"328d39ceb0445f9fc5c792f70adcc9b164f0921e","_id":"barista@0.5.2","_shasum":"07412e60604b5ba2835bc2dc47124f32fc0fae9b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"dist":{"shasum":"07412e60604b5ba2835bc2dc47124f32fc0fae9b","tarball":"https://registry.npmjs.org/barista/-/barista-0.5.2.tgz","integrity":"sha512-np2W66c/Qiv4lFkWLuN0T+ouZcOoHXmc2Gpc7fxZA69b+69qrufIzqcMpeZ3NoNqT6gvuVPR5BhTRW1A/KG4Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVumLWeCNACRVA8kCTKRn0TlHx69/IzCJR3SIPaFCauwIgf9cxnJpA+AEVZ8wBM0h6DgS0DdZXc6yzmvGsD6SmDC0="}]}},"0.5.3":{"name":"barista","description":"URL router & generator, similar to Rails / merb","version":"0.5.3","homepage":"http://kieran.github.io/barista/","license":"MIT","bugs":{"url":"https://github.com/kieran/barista/issues"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"main":"./index.js","scripts":{"prepublish":"coffee -c ./lib/","test":"mocha --reporter list --growl --compilers coffee:coffee-script/register tests/mocha.coffee","autotest":"cd lib; ../node_modules/.bin/mocha -w --reporter list --growl --compilers coffee:coffee-script/register ../tests/mocha.coffee"},"engines":{"node":">= 0.4.0"},"dependencies":{"inflection":"*","querystring":"0.2.0"},"devDependencies":{"coffee-script":"1.9.0","mocha":"*"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"gitHead":"9777dc0d05d3b332e42369a596d09892ede553e6","_id":"barista@0.5.3","_shasum":"19789dbe1e61ce04b8c46efd4511fa7bb3ac4807","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kieran","email":"kieran@kieran.ca"},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"dist":{"shasum":"19789dbe1e61ce04b8c46efd4511fa7bb3ac4807","tarball":"https://registry.npmjs.org/barista/-/barista-0.5.3.tgz","integrity":"sha512-cPtVzioDCQ9Mok1EVnV3cI44dKXLGnrNYQd3OMI2QsreeNoc5fQ7mJwFjVyPiO/ao+9Mv0QDDkqNzppbBooM6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJ+hRtSvOLDlG1CjSVtmaqBTwtQH7czPKp8adkwcmMmAiEA5NWuwn/UuD55GEDLoPRNP2BJ3+CvXlIZPR+dizj07fQ="}]}}},"maintainers":[{"name":"kieran","email":"kieran@kieran.ca"}],"time":{"modified":"2022-06-13T04:15:57.015Z","created":"2011-06-25T01:36:10.061Z","0.0.1":"2011-06-25T01:36:10.419Z","0.0.2":"2011-06-25T05:59:39.033Z","0.0.3":"2011-08-13T04:40:18.115Z","0.0.4":"2011-08-29T18:21:31.348Z","0.0.5":"2012-02-19T09:24:44.302Z","0.0.6":"2012-09-05T05:56:21.240Z","0.0.7":"2012-09-06T19:38:49.332Z","0.0.8":"2012-10-13T23:13:23.466Z","0.0.9":"2013-07-06T04:01:00.242Z","0.0.10":"2013-07-26T03:31:42.247Z","0.1.0":"2013-07-26T19:23:32.992Z","0.1.1":"2013-08-13T13:54:18.533Z","0.2.0":"2013-11-18T21:47:04.100Z","0.3.0":"2014-05-28T23:35:24.764Z","0.4.0":"2014-06-02T05:35:41.635Z","0.5.0":"2015-02-13T01:13:11.966Z","0.5.1":"2015-02-13T06:45:02.471Z","0.5.2":"2015-02-24T16:09:30.246Z","0.5.3":"2015-03-01T19:45:31.294Z"},"author":{"name":"Kieran Huggins","email":"kieran@kieran.ca","url":"http://kieran.ca"},"repository":{"type":"git","url":"https://github.com/kieran/barista.git"},"readme":"Barista is a simple URL router for NodeJS.\n\n[![Build Status](https://travis-ci.org/kieran/barista.svg?branch=master)](https://travis-ci.org/kieran/barista)\n\nIn a nutshell\n=============\n\n```javascript\nrouter.get( '/:beverage/near/:location(.:format)' )\n      .to( 'beverage.byLocation' )\n\nrouter.first( '/coffee/near/90210', 'GET' )\n// -> { controller:'beverage', action:'byLocation', beverage:'coffee', location:90210 }\n\nrouter.url({\n  controller: 'beverage',\n  action: 'byLocation',\n  beverage: 'coffee',\n  location: 90210,\n  format: 'json'\n})\n// -> '/coffee/near/90210.json'\n```\n\n\nGetting Barista\n===============\n\nInstall via npm, thusly:\n\n```javascript\nnpm install barista\n```\n\nUsing Barista\n-------------\n\n```javascript\nvar Router = require('barista').Router;\n\nvar router = new Router;\n```\n\nAdding routes\n-------------\n\n### A simple example\n\n```javascript\nrouter.match( '/products', 'GET' )\n      .to( 'products.index' )\n```\n\n### Rails-esque variable names\n\n```javascript\nrouter.match( '/products/:id', 'GET' )\n      .to( 'products.show' )\n\nrouter.match( '/profiles/:username', 'GET' )\n      .to( 'users.show' )\n\nrouter.match( '/products/:id(.:format)', 'GET' )\n      .to( 'products.show' )\n```\n\n### Globs (they also capture slashes)\n\n```javascript\nrouter.get('/timezones/*tzname')\n      .to( 'timezones.select' )\n\nrouter.first( '/timezones/America/Toronto', 'GET' )\n// -> { controller:'timezones', action:'select', tzname:'America/Toronto' }\n\n\nrouter.match( '/*path(.:format)' ) // a \"catch-all\" route:\n      .to( 'errors.notFound' )\n\nrouter.first( '/somewhere/that/four-oh-fours.json', 'GET' )\n// -> { controller:'errors', action:'notFound', path:'somewhere/that/four-oh-fours', format:'json' }\n```\n\n### Match conditions\n\n```javascript\nrouter.match( '/:beverage/near/:zipcode', 'GET' )\n      .to( 'beverage.byZipCode' )\n      .where({\n        // an array of options\n        beverage: [ 'coffee', 'tea', 'beer', 'warm_sake' ],\n        // a regex pattern\n        zipcode: /^\\d{5}(-\\d{4})?$/\n      })\n\nrouter.match( '/:beverage/near/:location', 'GET' )\n      .to( 'beverage.byLocation' )\n      .where({\n        // could be a postal code\n        // OR a zip code\n        // OR the word 'me' (geolocation FTW)\n        location: [ /^\\d{5}(-\\d{4})?$/, /^[ABCEGHJKLMNPRSTVXY]{1}\\d{1}[A-Z]{1} *\\d{1}[A-Z]{1}\\d{1}$/, 'me' ]\n      })\n```\n\n### Convenience methods\n\n```javascript\nrouter.get( '/products/:id(.:format)' )\n      .to( 'products.show' )\n\nrouter.put( '/products/:id(.:format)' )\n      .to( 'products.update' )\n\nrouter.post( '/products' )\n      .to( 'products.create' )\n\nrouter.del( '/products' )\n      .to( 'products.destroy' )\n\nrouter.options( '/products' )\n      .to( 'products.options' )\n```\n\n### REST Resources\n\n```javascript\nrouter.resource( 'products' )\n```\n\nis equivalent to:\n\n```javascript\nrouter.get( '/products(.:format)' )\n      .to( 'products.index' )\n\nrouter.get( '/products/add(.:format)' )\n      .to( 'products.add' )\n\nrouter.get( '/products/:id(.:format)' )\n      .to('products.show' )\n\nrouter.get('/products/:id/edit(.:format)' )\n      .to( 'products.edit' )\n\nrouter.post('/products(.:format)' )\n      .to( 'products.create' )\n\nrouter.put('/products/:id(.:format)' )\n      .to( 'products.update' )\n\nrouter.del('/products/:id(.:format)' )\n      .to( 'products.destroy' )\n```\n\nRemoving Routes\n------------------------\n\nIn some cases, you will need to remove routes on a running router.  The `router.remove( name )` method will work for this, but requires\nuse of the otherwise unused `route.name( name )` method.\n\n### Adding a name (currently only used with this functionality)\n\n```javascript\nrouter.match( '/products/:id', 'GET' )\n      .to( 'products.show' )\n      .name('products_show')\n```\n\n### Removing a named route\n\n```javascript\n\nrouter.remove('products_show')\n\n```\n\nResolution & dispatching\n------------------------\n\nThe `router.first( url, method [, callback] )` method can be used in two ways:\n\n```javascript\nvar params = router.first( '/products/15', 'GET' )\n```\n\nOR\n\n```javascript\nrouter.first( '/products/15', 'GET', function( err, params ){\n  if (err) { \n    // couldn't find match \n  }\n  // dispatch the request or something\n})\n```\n\nYou can get all the matching routes like so:\n\n```javascript\nvar params = router.all( '/products/15', 'GET' )\n\n//=> [params, params, params....]\n```\n\nRoute generation\n----------------\n\nPass in a params hash, get back a tasty string:\n\n```javascript\nrouter.url( {\n  controller: 'products',\n  action: 'show',\n  id: 5\n} )\n//=> '/products/5'\n\nrouter.url( {\n  controller: 'products',\n  action: 'show',\n  id: 5,\n  format: 'json'\n} )\n//=> '/products/5.json'\n```\n\nSet the optional second parameter to `true` if you want\nextra params appended as a query string:\n\n```javascript\nrouter.url({\n  controller: 'products',\n  action: 'show',\n  id: 5,\n  format: 'json',\n  love: 'cheese'\n}, true )\n//=> '/products/5.json?love=cheese'\n```\n\n\nTODOs\n-----\n- Add namespace support\n- Better support for named routes\n- Customizable resources\n\n\nThings I forgot...\n------------------\n...might be in the `/docs` folder...\n\n...or might not exist at all.\n\n\nIt's broken!\n------------\nShit happens.\n\nWrite a test that fails and add it to the tests folder,\nthen create an issue!\n\nPatches welcome :-)\n\n\nWho are you?\n------------\nI'm [Kieran Huggins](mailto:kieran@kieran.ca) in Toronto, Canada.\n","homepage":"http://kieran.github.io/barista/","bugs":{"url":"https://github.com/kieran/barista/issues"},"license":"MIT","readmeFilename":"Readme.md","users":{"kieran":true,"tunnckocore":true}}