{"_id":"static-router","_rev":"1745765","name":"static-router","description":"Express/Connect middleware to server static files based on glob-like routes.","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"time":{"modified":"2026-11-19T14:30:46.000Z","created":"2014-07-18T17:12:11.472Z","1.1.0":"2015-02-24T21:09:29.483Z","1.0.5":"2015-02-24T19:55:15.218Z","1.0.4":"2014-11-18T22:34:38.666Z","1.0.3":"2014-11-18T21:39:02.705Z","1.0.2":"2014-11-17T21:36:58.289Z","1.0.1":"2014-09-17T16:35:10.441Z","1.0.0":"2014-09-11T21:57:01.654Z","0.3.1":"2014-09-11T21:24:51.758Z","0.3.0":"2014-08-29T21:19:31.013Z","0.2.3":"2014-07-31T22:28:00.377Z","0.2.2":"2014-07-31T22:26:16.212Z","0.2.1":"2014-07-18T22:40:29.945Z","0.2.0":"2014-07-18T17:12:11.472Z"},"users":{"scottcorgan":true,"shieldax":true},"author":{"name":"Divshot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"versions":{"1.1.0":{"name":"static-router","version":"1.1.0","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.10.0","connect":"^3.3.3","fs-extra":"^0.16.3","mkdirp":"^0.5.0","mocha":"^2.0.1","rmdir":"^1.0.4","supertest":"^0.15.0"},"dependencies":{"deliver":"^1.1.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","glob-slash":"^1.0.0","glob-slasher":"^1.0.0","globject":"^1.0.0","mime-types":"^2.0.3","minimatch":"^1.0.0"},"gitHead":"67140f3312b8496ef86d2ae1c4f2f712b3eb6aef","_id":"static-router@1.1.0","_shasum":"e8e5d8be29d195d81b51dfcb41c14e99479f3783","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"e8e5d8be29d195d81b51dfcb41c14e99479f3783","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.1.0.tgz","integrity":"sha512-Dlavc5DzDeV9hpvc/rQ8Xjs6OXQS3GeS6MDhaQ+UjjJ7vg3/3FQjgabxEoTsX+V9Or4bT/vToR1NTSGhFolEaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH1mdb5EIHKrLV26RzZMmWXbJeG2jdkM/1RNjJmnqzCwCIQC+T/ONyiPnOen835qdlElvpWOOCvEfR3UuX+SWcPN+PQ=="}],"size":3553,"noattachment":false,"key":"/static-router/-/static-router-1.1.0.tgz"},"publish_time":1424812169483,"_cnpm_publish_time":1424812169483},"1.0.5":{"name":"static-router","version":"1.0.5","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.10.0","connect":"^3.3.3","fs-extra":"^0.16.3","mkdirp":"^0.5.0","mocha":"^2.0.1","rmdir":"^1.0.4","supertest":"^0.15.0"},"dependencies":{"deliver":"^1.1.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","glob-slasher":"^1.0.0","globject":"^1.0.0","mime-types":"^2.0.3","minimatch":"^1.0.0"},"gitHead":"2c4439faddec4c19619dc8db430e8ae605d944b2","_id":"static-router@1.0.5","_shasum":"26f30dea3017d132b74345bf8fdffbf7ba4086b0","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"26f30dea3017d132b74345bf8fdffbf7ba4086b0","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.0.5.tgz","integrity":"sha512-zir0Grp8f5cezgXq1RqedQgTC2P9crZK4HlV/vg5mNfysvTTDS0aeeU7F52I150gcB+t1qLk8joSubAXSe6Teg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLIuCgN5kosvmJR7kywOYSeJt/pu6VfiQsdw9veXElRgIhAMxyGkmwodFSBuf13TKmuVlkUABSccojYnXuLlouZdJA"}],"size":3366,"noattachment":false,"key":"/static-router/-/static-router-1.0.5.tgz"},"publish_time":1424807715218,"_cnpm_publish_time":1424807715218},"1.0.4":{"name":"static-router","version":"1.0.4","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.10.0","connect":"^3.3.3","mkdirp":"^0.5.0","mocha":"^2.0.1","rmdir":"^1.0.4","supertest":"^0.15.0"},"dependencies":{"deliver":"^1.1.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","glob-slasher":"^1.0.0","globject":"^1.0.0","mime-types":"^2.0.3","minimatch":"^1.0.0"},"gitHead":"c58a41f81e093c57690150ec0998b401623b22c1","_id":"static-router@1.0.4","_shasum":"6957d5062818f60a4c9b1b0b2314d31d487c1815","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.31","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"6957d5062818f60a4c9b1b0b2314d31d487c1815","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.0.4.tgz","integrity":"sha512-n+yIP5KbutJtzO+sy5rkSGLNR1YTLqojboowCivk1brzZbQoqyQcNiWB8c9puKU/80ESc4nDbYfdvCUkwEHHgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQDjNpIv6xmTpfQm41V8mmHN1RcZSHh3XCmhdn8GOjjAIhALTpTxNrfwFeAVwserhMsXHTZavcyEWzMoNNl5IKuE14"}],"size":3161,"noattachment":false,"key":"/static-router/-/static-router-1.0.4.tgz"},"publish_time":1416350078666,"_cnpm_publish_time":1416350078666},"1.0.3":{"name":"static-router","version":"1.0.3","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.10.0","connect":"^3.3.3","mkdirp":"^0.5.0","mocha":"^2.0.1","rmdir":"^1.0.4","supertest":"^0.15.0"},"dependencies":{"deliver":"^1.1.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","glob-slash":"^1.0.0","globject":"^1.0.0","mime-types":"^2.0.3","minimatch":"^1.0.0","toxic":"^1.0.0"},"gitHead":"82bf48b8f9a5af2a9933434e6326896ff13ea72c","_id":"static-router@1.0.3","_shasum":"3ccbec8dee310d57d95bc08a80fd2d8f4f09e68b","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.31","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"3ccbec8dee310d57d95bc08a80fd2d8f4f09e68b","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.0.3.tgz","integrity":"sha512-eLAmI5w1pzBRpq5rda6ox0VLeIZ6vUA0Mbqp4GNXd5F0Glq9RM2CyRkU5IiroR7saroKNjYTmLC485Mdq/sPDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHx+LjlHAI5KPSK03+SnYZaUXUPciSNf31wT35Ler5jMCIQClodSPEg0Ujz1/7u+P9t+qfmzPDCN40CqTJvdEI2c3tQ=="}],"size":3218,"noattachment":false,"key":"/static-router/-/static-router-1.0.3.tgz"},"publish_time":1416346742705,"_cnpm_publish_time":1416346742705},"1.0.2":{"name":"static-router","version":"1.0.2","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.10.0","connect":"^3.3.3","mkdirp":"^0.5.0","mocha":"^2.0.1","rmdir":"^1.0.4","supertest":"^0.15.0"},"dependencies":{"deliver":"^1.1.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^1.0.0","mime-types":"^2.0.3","minimatch":"^1.0.0","toxic":"^1.0.0"},"gitHead":"e8b196de97f9e18e5f9291c55640fe5871f8a6c7","_id":"static-router@1.0.2","_shasum":"85f8e9620c928dcc818c699ea4f80f7a6b9777b2","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.31","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"85f8e9620c928dcc818c699ea4f80f7a6b9777b2","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.0.2.tgz","integrity":"sha512-DLfDobdjTPQNFP6Npv+ecnWEj2RIj4BcyI/BI4hGD0dRIQokS7wAlZ1pluMC1Jt7leBLZOak4PfYG8o0IndDuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGYBIZwUYDUM8WDmLPQ012Qd4jm5rx/bDnNSXUVLS66AiEAxmXLab3oKTcP18F/iyPQp8c7sFVTgMqeqXiIT84RkeE="}],"size":3298,"noattachment":false,"key":"/static-router/-/static-router-1.0.2.tgz"},"publish_time":1416260218289,"_cnpm_publish_time":1416260218289},"1.0.1":{"name":"static-router","version":"1.0.1","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^1.1.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"gitHead":"02aaed1b9cd948d4c467bf963da3fb3b8c01f280","_id":"static-router@1.0.1","_shasum":"cbe542bec19f32b774e6a4f0bd592267d5ce0843","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"cbe542bec19f32b774e6a4f0bd592267d5ce0843","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.0.1.tgz","integrity":"sha512-3lIT/rVeNJFqnfw4oj0db6uJdHb1celVDYmYyI3bNuPY2Ijg9wjZLQ85qBPYnm0ZtChLFLuA8rQ+VcfE7s7Etg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGSmOdkXGuMlPDSKVtU3jgBZJTGWK1/NVqflQcx45A2AiEArC1aUs/biHIOCXFkP6KXYQqnqx4YXMhyco8XUezA9Uw="}],"size":3107,"noattachment":false,"key":"/static-router/-/static-router-1.0.1.tgz"},"publish_time":1410971710441,"_cnpm_publish_time":1410971710441},"1.0.0":{"name":"static-router","version":"1.0.0","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^1.0.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"gitHead":"142467fb5b8f178b99eba549eac311562593b401","_id":"static-router@1.0.0","_shasum":"d34d9493189175f1899f0d913188753ee6619254","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"d34d9493189175f1899f0d913188753ee6619254","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-1.0.0.tgz","integrity":"sha512-v8dc+RLyD8C13iS1GuWo3k7rz2fxX6QAAyxYTnwl4O3XIb9Mq7jov50py9myWdIWFJVl1AF32pzZVK4ak7aXSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6QC0dHMTCkIIgJzVqNXeFkZz2f50gefjOz4Y0pDtyCQIhAKZM0vXvfPYUIbcFfV4TYSLDXjKrhNrnXL9bWxEj2pTN"}],"size":3091,"noattachment":false,"key":"/static-router/-/static-router-1.0.0.tgz"},"publish_time":1410472621654,"_cnpm_publish_time":1410472621654},"0.3.1":{"name":"static-router","version":"0.3.1","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^0.6.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"gitHead":"e454f5158f3374e574231bd38d9514f8ed0a9c49","_id":"static-router@0.3.1","_shasum":"39b0152387ad3f2fe9c5dd058f02bc212bf1c4fd","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"39b0152387ad3f2fe9c5dd058f02bc212bf1c4fd","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-0.3.1.tgz","integrity":"sha512-mPdeXjz+MW/2itxA/+35qLdvwwuwvq+uR17TcpIUXTnxy6zrmzFlGyHp0jN34tap4JlIwjuSZmxZeK0/ayYtWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk+WiGYZwU0G5y3bUj4g2FbUAJiBEqfN9w2mFRWSdfbAIgdAQwHoKSl7uVKeI3MVR3b6WM+jnKTh+hZN6sIa8CVo8="}],"size":3094,"noattachment":false,"key":"/static-router/-/static-router-0.3.1.tgz"},"publish_time":1410470691758,"_cnpm_publish_time":1410470691758},"0.3.0":{"name":"static-router","version":"0.3.0","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^0.6.0","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"_id":"static-router@0.3.0","_shasum":"fcecb3d8b08603f76dbe952d061e03bdbd54aa02","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"fcecb3d8b08603f76dbe952d061e03bdbd54aa02","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-0.3.0.tgz","integrity":"sha512-CBfVRPWTyp+NuTtpV/vXJ3qyEFlmONFlTl9G/oZJtAUUYQ7dYBTYwrzwfVfUCd7E6XwWjpGa29ot+KqlrFd+8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDl2cSAobjKibbTyEC/agFW/H36OcZ6LFbMdjPkXOyF/AiBjvJAeJZgq07Wra/JkvRW256+dwPeOKYW7MMbH/wsMyg=="}],"size":3087,"noattachment":false,"key":"/static-router/-/static-router-0.3.0.tgz"},"publish_time":1409347171013,"_cnpm_publish_time":1409347171013},"0.2.3":{"name":"static-router","version":"0.2.3","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^0.4.4","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"_id":"static-router@0.2.3","_shasum":"d9d5003a1f73bc24af15f406feb2931fe90a8f08","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"d9d5003a1f73bc24af15f406feb2931fe90a8f08","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-0.2.3.tgz","integrity":"sha512-R5eyZkiJlP/MQSEc5A9YJzx5ez4UziobKKWjKRIDhNk7sYNkYG/IdhNCoUgOV4T/K18ksBR81BoD3+XJQUV3Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD1B20nECWwa7zHJfoyM+Vb27RhmYIeXZ+RFEm3e70PwIhAJg1Ds/LnFSEaRQS+63/UyQbwn6JJuDL8/eQP3mGbeV9"}],"size":3084,"noattachment":false,"key":"/static-router/-/static-router-0.2.3.tgz"},"publish_time":1406845680377,"_cnpm_publish_time":1406845680377},"0.2.2":{"name":"static-router","version":"0.2.2","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^0.2.1","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"_id":"static-router@0.2.2","_shasum":"77af4275b8edf8b265c9fee5432a5d5876251b8d","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"77af4275b8edf8b265c9fee5432a5d5876251b8d","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-0.2.2.tgz","integrity":"sha512-Tb26C8KOTlbJx+/nY25o9uPB7r5LxkIm2FMGZYFHIDwnV9Dxuhxr78pH3LvQTPK4dSYh/ZU8jP43RPTQHfAF8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKPybaQaTTEFWHUmUzvdhg3iEuAfHjRKt90QxhmEbMYAiEA3WSmilCAVElj8eVhGlw+gMsMShBaIfMsgD6qIZHFleA="}],"size":3083,"noattachment":false,"key":"/static-router/-/static-router-0.2.2.tgz"},"publish_time":1406845576212,"_cnpm_publish_time":1406845576212},"0.2.1":{"name":"static-router","version":"0.2.1","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^0.2.1","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","mime-types":"^1.0.1","minimatch":"^0.4.0","slasher":"^0.1.5"},"gitHead":"a59ed018993461c3e161a5c2e98582218ed9cd62","_id":"static-router@0.2.1","_shasum":"381863abdfa7ff589169717ef3babd222835dd91","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"381863abdfa7ff589169717ef3babd222835dd91","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-0.2.1.tgz","integrity":"sha512-2oEitix3hVvn9JP/GaV1fWqTQsX8BV8e3VAKYPnDDQdDyGZJpbJVBjf92IBRq46NuzQ6h5nq0NQW+5WKDHPzAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEr96857kUUY7AROSLVJm/0Qt9OuF3VHnEw2Q34ZHN33AiEAoxRy6DqD5KYJOel9RCkaAH4bsGCqpXZciR8hLmUd4fE="}],"size":2992,"noattachment":false,"key":"/static-router/-/static-router-0.2.1.tgz"},"publish_time":1405723229945,"_cnpm_publish_time":1405723229945},"0.2.0":{"name":"static-router","version":"0.2.0","description":"Express/Connect middleware to server static files based on glob-like routes.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"git@github.com:divshot/static-router.git"},"keywords":["divshot","superstatic","routes","static","router","static server"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/static-router/issues"},"homepage":"https://github.com/divshot/static-router","devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0"},"dependencies":{"deliver":"^0.2.1","directory-index":"^0.1.0","fast-url-parser":"^1.0.6-0","file-exists":"^0.1.0","globject":"^0.1.3","minimatch":"^0.4.0","slasher":"^0.1.5"},"gitHead":"c53299e383c8964ca508fde4726d09425c76278c","_id":"static-router@0.2.0","_shasum":"11ddfae88293c1355439ed04e735be26e90c4d62","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"11ddfae88293c1355439ed04e735be26e90c4d62","tarball":"http://registry-npm.ywwl.com/static-router/download/static-router-0.2.0.tgz","integrity":"sha512-cuupGEZE38IZTb1ieLYS4z832SUVDs1m1QE+njTzmkNqeIteI9gXd85TV+vGRYwTrVB2oy4YnSyPgidFts2h9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAitXgRaYHMXerpVf5IGEmsUYGdvdUIyC0Y9AbR6iSCLAiEA3fZopnJV0klrov61leNHhUwSR1Zum/xdiM9uhs3e4Wc="}],"size":2939,"noattachment":false,"key":"/static-router/-/static-router-0.2.0.tgz"},"publish_time":1405703531472,"_cnpm_publish_time":1405703531472}},"readme":"# static-router\n\nExpress/Connect middleware to server static files based on glob-like routes.\n\n## Install\n\n```\nnpm install static-router --save\n```\n\n## Usage\n\n```js\nvar http = require('http');\nvar connect = require('connect');\nvar router = require('static-router');\n\nvar app = connect();\n\napp.use(router({\n  '**': '/index.html'\n}));\n\nhttp.createServer(app).listen(3000, function () {\n  \n});\n```\n\n**Ensure order of routes**\n\n```js\nvar http = require('http');\nvar connect = require('connect');\nvar router = require('static-router');\n\nvar app = connect();\n\napp.use(router([\n  {'/some-route': '/some-file.html'},\n  {'**': '/index.html'}\n}));\n\nhttp.createServer(app).listen(3000, function () {\n  \n});\n```\n\n### router(routes[, options])\n\n* `routes` - object or array containing globs as keys and target static files and values. Use of an array ensures the order in which the routes are parsed.\n* `options`\n  * `root` - the root directory of the static files.\n  * `index` - name of the default directory index file. Defaults to `index.html`.\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```\n","_attachments":{},"homepage":"https://github.com/divshot/static-router","bugs":{"url":"https://github.com/divshot/static-router/issues"},"license":"MIT"}