{"_id":"static-asset","_rev":"53-c77e1694ace9c12ec01f97473c3598fb","name":"static-asset","description":"Static asset manager for Node.JS and Express","dist-tags":{"latest":"0.6.0"},"versions":{"0.0.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS","version":"0.0.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.6.0"},"dependencies":{},"devDependencies":{},"_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"_id":"static-asset@0.0.0","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.2","_defaultsLoaded":true,"dist":{"shasum":"2641941ba3e22e2bb87b53436316b3e7d81dd586","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.0.0.tgz","integrity":"sha512-2KbOD0Ka/UfLwZdRCJ+PuPqGLGP/YsuHJ3e6brYCFGAYx3tlyuOacrDXNaozkl4gJKz0o197Utj675mbAhpANA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZaQJ6+mgTFYWfZO1V/6eIsTHflmErDDvqZSfcGwkTMgIhAIilnnZmUg58T89AFA60dQfty8nr+VH1jiRECkwSUKxO"}]},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{},"deprecated":"This version of static-asset is buggy and no longer supported"},"0.1.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.1.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.6"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.1.0","dist":{"shasum":"8a4ab8fe6badcee6e19fbaba7a7bdd83821c86f9","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.1.0.tgz","integrity":"sha512-VKTFSQ8ZIt39QMoPyI95aavaoCDPJgUlrs/OIlcr/GdnHgRBRuRElweTcDD8kg14RdClFqNJCwxuN0fQO+MDkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX9Je2TauWzs3QDIfGiNMVSwKUS+gQdUQnkaHvEG6GlAIgT/9IXuZjHsXvGmZFxP7d53v9VR3pgx2Bh8GyIMPK2R8="}]},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{},"deprecated":"This version of static-asset is buggy and no longer supported"},"0.1.1":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.1.1","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.6"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.1.1","dist":{"shasum":"5a80af263e27ee7f61c1f4be7526ff452a0edb5d","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.1.1.tgz","integrity":"sha512-rk64hllcZuIvX1FrUOX5NIvhG11PMz+WptJ0EILh3/BdiwaidmmuBMkuanHXw5NsF0q0yWmp0K5St0Qx/WHFOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa31lvPvKDnNHjcSySUGy25xs6AGSDbT+J68DfmxTDCAIgV/PVi78mS/NRQT8mNBsT1cM9dhxjQSGkAIuDvfbIEw4="}]},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{},"deprecated":"This version of static-asset is buggy and no longer supported"},"0.2.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.2.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.6"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.2.0","dist":{"shasum":"41a6e6481e64ffd8025184e76b74f20e0ec17bac","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.2.0.tgz","integrity":"sha512-TylgV0y5/41MQJ9H3tYzrWFVapVP1GdEpu/uJEGJSNNnK5dKUwELHRzhkDUew/t0+7FhovmHYNSQU07aHGP7JA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFY1VNHcas8sjyxLZeHdZ61RjR5MMpbXCr8yTeKE5zhCAiB03FtOojJMO5RiTkMjBbojhO2f1oaHKONojHytc5io4g=="}]},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{},"deprecated":"This version of static-asset is buggy and no longer supported"},"0.2.1":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.2.1","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.6"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.2.1","dist":{"shasum":"10ca348479395f8d590c6e60768865ca1561e780","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.2.1.tgz","integrity":"sha512-eKJiTvAbpc83E/XmbOIMsO2SyOCNP+rErMbHdyhCreg47wgYIULChEzGQDYrjo+XSdPRChofAG+Qxi9sQBHSzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe2uqHtRXfPZ/w2cBIy43+mw00M2FNbInmFPg26yD/KQIgOM49fv91yfAqWgXzn3dldxpFlcCfzGu0jrJrKg9BahA="}]},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{},"deprecated":"This version of static-asset is buggy and no longer supported"},"0.3.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.3.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.6"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.3.0","dist":{"shasum":"25b67bcf33d76b8fd7e6facb28480c940474186f","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.3.0.tgz","integrity":"sha512-rmrMbEgeFFZeEAXy0Gozv80jOZy8RkotzPJ6DViyOlkqLR/qFcoJuri3TFvwA9d0EJLVEsQRuutyOxKkVeVbQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlco6OLgCZLp2QyP9dZYHDbxBULpWn8xE3YFACwyIeBgIgauN9zNbTuGMlJcQgpJh6urg3PD9dzhRNFpSmuzOGh2Q="}]},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{}},"0.4.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.4.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.4.0","dist":{"shasum":"deed6cf6528b34eb6eca02d7afe8ef4402a34464","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.4.0.tgz","integrity":"sha512-dzg4CPlNFcHAKQCA1vek1Lt8UTQV5SoViEzzhil9kE3jgkzEXJvsenJwG44iYzNuC0GtTf9R+vEoZawHhh8aWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLhUTs+88aH/uxrL+kijoN1JnXudakMO+L5Y6/TTo6VAIgfcyOunDU83OnX5rV83GHRNDIDeyBFGQB1ix4Bjz27F8="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{}},"0.4.1":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.4.1","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.4.1","dist":{"shasum":"3c5472aa1c7aff3a493a9091e04192ba4089e3a3","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.4.1.tgz","integrity":"sha512-+O964UTQCeJJrwMkPbba9emCdECN+ruPeUrxpBZ0fkItGuir+M3W3Tqx8gbpj7XV9s0PfclDAVb3aj6s3xWziw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyX4B66MMxvObSf6ukIK6P57oG+p2CIjzrPHZ4RrJ4sAiEAiW51BO4FB08Tqu1susIo3oTYKQiYR7JftJzNKRjR/gk="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{}},"0.4.2":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.4.2","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.4.2","dist":{"shasum":"15108509c8839ff75b2fd86407f0c87dccb0bf17","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.4.2.tgz","integrity":"sha512-HcAW640PkGGeQryiV/9nnGLGffRk7RJmZs0ieSaHzl1AJkrHKqU4+hP0M8xg7yR7PzoBT1tutXiogvXy0w8oTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB13JXv8sdDzfr9j+R0BMV7X3LntfIE+eIPtzVyHNke+AiB1JhbT0NtcU9e0mlZFSHW/3kup90JKEdJR8Cd1PaTsTg=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{}},"0.5.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.5.0","dist":{"shasum":"a8a58e34289dc97459f373353d59a55b885865f2","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.0.tgz","integrity":"sha512-AdpMymXUQKtOAwgyLbNnb0TO071b3FVe7jj4tn+w+zDX3Dc5MYSINllFC0bbwEwVN6i9Nr47y8WGl9TVnkegSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPe1OlePCe06UYhpaB2xGBFuZlvIu07OsJNxwDR1qpgQIgL3WWA0feEpX+XbWDSAXnKHgnetLIGfjZ830oSrILugI="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{}},"0.5.1":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.1","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.5.1","dist":{"shasum":"f44e20a6c2627108db70acd5fd4ddb91630a6580","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.1.tgz","integrity":"sha512-DLnfIQ7xRDK5iBATaAbMShIF/yDDl9kKYGCCAKfKBkAg37xOU3HcA2S78068iMQ9i5BPA/7ct/LkUWIcFJPnuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGdJUXXcYC2E9c2tz3ize0JJ1uY02/I/4K6FQ33EGdYAiEAuNsyEkSL6EREhC28m9Yq3uMBCH7Myzs+lDH0WoTciQs="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"directories":{}},"0.5.2":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.2","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2"},"devDependencies":{},"_id":"static-asset@0.5.2","dist":{"shasum":"41b7d0e1a4f20edc887c65b7e25cae08de6fbd32","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.2.tgz","integrity":"sha512-8w/vMqpkxSs+NNPU3Jp+WTefvni6nvh47Q7TMCYh50XYvBjiqfLugaI9GBpncYxRLGybfHe0ppi/K/kdfB45uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2p882BoNgL92WthoqBn2MTO/jlhICF7p1HOIo+toPvAiEA1PS/j5liHzAdACVygu+KfB1qmgMIGjYelpOkkWRNhKI="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}]},"0.5.3":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.3","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2 <2"},"devDependencies":{},"bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"_id":"static-asset@0.5.3","dist":{"shasum":"23a0656a5a49d533a6db8fef68d4f168fed0b22b","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.3.tgz","integrity":"sha512-vyVbK9us7wUUxS+fczH8SAhFlFIga/9ALfOj5LfTZUU9Z9meYUWEyYRhSpGd8k0Zk9Nm8f88g97UjkTRVzaffg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwwKiyD7FjWAP05U/HmIfBtGYGc/OftrszgwfsuMGq1AIhALcDElmYFVxvKdis4bRKRShGqmFziTuMe8EltYVo40rH"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}]},"0.5.4":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.4","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=0.2 <2"},"devDependencies":{},"bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"_id":"static-asset@0.5.4","dist":{"shasum":"867fcbc379f77874dc353db18dde8b06d7f0f38b","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.4.tgz","integrity":"sha512-2T9aUg3YfjbJKirfM/eQHzTyUuFHN0Jct51Vv9YsJRbbSg4IS1JFMPd+Ji1EA4Hqc1knuEsbi8bxxRAEbEPlYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9E35QPJcg0i1gOV8ormie7kTAnXeOcnNZLbPLI4iA6gIgfTuSCctkAl0MICcqVNxvTyl+Vgt2TjB7Jcs8gGAQPxo="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}]},"0.5.5":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.5","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=2.0 <3"},"devDependencies":{},"bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"_id":"static-asset@0.5.5","dist":{"shasum":"60857181596630380755c3fb1f143c4bddf51a86","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.5.tgz","integrity":"sha512-3B06ih/k54Q0Jp6T05MBQdKqgHXPNMQMA1OhKEVBtj6muR2UId1BUMxlepLhs+KcVhpcjkVooi9t9ruav6Ohww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVwYMuMhkcBAmDJzQOOa4jbxtgE1UaUrzgyJARrOA1nAiEAl6gYkm0Js1+C7gJeZYlkTD1/rpQC/tNJ6FQuBImugBY="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}]},"0.5.6":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.6","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=2.0 <3"},"peerDependencies":{"express":">=3"},"devDependencies":{},"gitHead":"3ec1e1f8eab65985beee267390b4b045408c578a","bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"homepage":"https://github.com/bminer/node-static-asset","_id":"static-asset@0.5.6","scripts":{},"_shasum":"bd74242d3764090b635733c788d25b409e8f3041","_from":".","_npmVersion":"2.0.0-beta.0","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"dist":{"shasum":"bd74242d3764090b635733c788d25b409e8f3041","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.6.tgz","integrity":"sha512-n+pT4gkqAE6k9jtp8roduvhuu3/Yt/MUwiqiKF3GpjtpdZ2ErXgCFxy3oxenINaYwH+tX/dn/ClMkxSo9NGi4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtv3QxpscWiBFTsedY6zw2nB+K97zc90TOESou3gy8WAiEAoitKgIro6NIPs3G+1KwNZaUDuX1ih/GcLlduVtOwurk="}]}},"0.5.7":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.5.7","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=2.0 <3"},"peerDependencies":{"express":">=3"},"devDependencies":{},"gitHead":"5a95edfc50d813c4faa2b74088ca9ce6493c928e","bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"homepage":"https://github.com/bminer/node-static-asset","_id":"static-asset@0.5.7","scripts":{},"_shasum":"771c2dc31c92b4e62c51cfdbbd01ab33029ed455","_from":".","_npmVersion":"2.0.0-beta.0","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"dist":{"shasum":"771c2dc31c92b4e62c51cfdbbd01ab33029ed455","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.5.7.tgz","integrity":"sha512-djEIhh3OjFVgmmmZB6goyBeQLIobNwwPeOdDyPgxN+q/7O65sQPY53dw/zN6mBGTGatXwU4BO8BfYjPv9qneIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCfIPwp0fCX7abOvboaYSquDrA+Kqv66bMUqm3+uyFdAIgdDHNWLnuEFT2uVAbWFSmOwJNA/F2BhxcLt3XOvYOKTM="}]}},"0.6.0":{"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"name":"static-asset","description":"Static asset manager for Node.JS and Express","keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"version":"0.6.0","repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"main":"index.js","engines":{"node":">=0.8"},"dependencies":{"crc":">=2.0 <3"},"peerDependencies":{"express":">=3"},"devDependencies":{},"gitHead":"d4dfc5d4c0e3ac5f63ad6aed95a6956bbd5a4a51","bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"homepage":"https://github.com/bminer/node-static-asset","_id":"static-asset@0.6.0","scripts":{},"_shasum":"f7d1817d8387f27a09f8312427b90ad437b535c0","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.31","_npmUser":{"name":"bminer","email":"miner.blake@gmail.com"},"maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"dist":{"shasum":"f7d1817d8387f27a09f8312427b90ad437b535c0","tarball":"https://registry.npmjs.org/static-asset/-/static-asset-0.6.0.tgz","integrity":"sha512-1XfIyruxCl4DJaEWSQElGZA2kmwiX3DDh3kPcifISTX1RyvpKu879t4IXYlYTEvc1X5tyRPGW2cbgVQyiiRolg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe9RB14De6n67NWX/BZPRlYbdboIXctBdaA25o+bov2gIhAKh2/Szcrc+WJ+GZIBKbOwqaBet7/W95PssFPxhDmBZm"}]}}},"readme":"#node-static-asset\n\nnode-static-asset is a static asset manager for Node.JS, designed for Express.\nThis project aims to solve the problem of caching static assets (including\nassets like *.js files that might change from time to time).\n\n## Background\n\nGoogle has a nice article about \"strong\" and \"weak\" caching.  It's worth a quick\nread if you don't know what that means.\n\nhttps://developers.google.com/speed/docs/best-practices/caching\n\n## Install\n\n`npm install static-asset`\n\n## Getting Started\n\nnode-static-asset allows you to generate URL fingerprints for static assets.\n\n1. Add the static-asset middleware to your Express stack\n```javascript\nvar staticAsset = require('static-asset');\napp.use(staticAsset(__dirname + \"/public/\") );\n```\n\n2. Get URL fingerprints of your static resources using `req.assetFingerprint`\nor the `assetFingerprint` view helper function.\n```javascript\napp.get(\"/info\", function(req, res, next) {\n\t/* Should return something like \"The URL fingerprint for jQuery is:\n\t\t/js/jquery.min.js?v=3dd-983jk2a\"\n\t*/\n\tres.type(\"text/plain\").send(\"The URL fingerprint for jQuery is: \" +\n\t\treq.assetFingerprint(\"/js/jquery.min.js\") );\n});\n```\n\nNow that you have obtained the asset fingerprint for `/js/jquery.min.js`,\nif you send a request for that asset to the URL `/js/jquery.min.js?v=3dd-983jk2a`,\nstatic-asset will automatically add appropriate caching headers (i.e.\nLast-Modified, ETag, and Expires).\n\n## API\n\nstatic-asset exposes a function `req.assetFingerprint`, which allows one to generate\nand register URL fingerprints for static assets.\n\nOnce a URL fingerprint is *registered* with static-asset, any HTTP request for that\nstatic asset (i.e. when `req.url` matches the registered URL fingerprint) will\ntrigger static-asset to set certain HTTP headers (i.e. Last-Modified, ETag, or\nExpires).\n\n### Adding the middleware function\n\n**require('static-asset')(path[, cache])** - Returns an Express middleware\nfunction that exposes a `req.assetFingerprint` function and adds\n`assetFingerprint` view helper function to `res.locals`.  If any request's URL\nmatches a previously generated URL fingerprint, static-asset will attempt to add\nweak and strong caching headers to the HTTP response.\n\n- `path` - the path from which static files are served\n- `cache` - a \"cache strategy\" Object, which must implement all \"cache\n\tstrategy\" methods, as described below. If `cache` is omitted, the\n\tdefault \"cache stategy\" is used.\n\n### A \"Cache Strategy\" Object\n\nA \"cache strategy\" object should implement one or more of the following methods:\n\n- `lastModified(filename)` - a function that accepts a filename and returns\n\tits last modified date. If a last modified date could not\n\tbe determined, the function should return `null`; otherwise, static-asset\n\t*may* use this Date to set the `Last-Modified` HTTP response header when\n\tthe resource is requested.\n- `etag(filename, cb)` - Same as lastModified (above), except that it must\n\treturn an ETag (or hash value).  If the\n\treturned ETag is not `null`, static-asset *may* use this value to set the\n\t`ETag` HTTP header when the named resource is requested.\n- `expires(filename)` - Same as lastModified (above), except\n\tthat it must return a Date Object indicating when the resource shall\n\texpire. The Date may be no more than one year in the future. If\n\t`expires` is implemented, static-asset *may* use the date to set an\n\t`Expires` and/or `Cache-Control: max-age` HTTP headers; otherwise,\n\tstatic-asset will use a Date approximately one year into the future.\n- `fileFingerprint(filename, fullPath)` - Returns the URL fingerprint\n\tof the resource `filename`, stored at the location `fullPath`.\n\t`fullPath` is provided for convenience, since the caching strategy\n\tdoes not know what root path was passed into the static-asset middleware.\n\n### Registering URL fingerprints\n\n**req.assetFingerprint(label_or_filename)** - Return a URL fingerprint for the\nlabelled resource, or if no such label is registered, use the \"cache\nstrategy\" to determine the file's ETag or last modified date.  If you're confused\nby this description, read on...\n\nIf you call `req.assetFingerprint(filename)` and pass a filename relative to the\npath from which static files are served, static-asset will use the cache strategy\nyou specified to generate and return a unique URL fingerprint for the asset.\nIf that file is requested later by the URL fingerprint, static-asset will respond\nby setting the appropriate HTTP headers like Last-Modified, ETag, and Expires,\naccording to the cache strategy.\n\nIf an ETag is provided by the cache strategy, it will be used to generate the\nfingerprint; otherwise, the last modified date will be used.\n\nIf you call `req.assetFingerprint()` with no arguments, a fingerprint will be\nregistered and generated using the cache strategy on the current URL (i.e.\n`req.url`). This is equivalent to `req.assetFingerprint(req.url)`.\n\n### Labelled resources\n\nYou can call `req.assetFingerprint(label, fingerprint, cacheInfo)` to manually\nassign a `fingerprint` for the specified `label`. In addition, the HTTP headers\nreturned to the client when this URL fingerprint is requested are specified by\nthe `cacheInfo` Object.\n\n**req.assetFingerprint(label, urlFingerprint, cacheInfo)** - Registers a URL\nfingerprint for a labelled resource.\n\n- `label` - a label identifying the resource\n- `urlFingerprint` - the URL fingerprint for the resource. If a request for this\n\tresource is made, static-asset may add caching headers to the response.\n- `cacheInfo` - an Object containing one or more of these properties:\n\t- `lastModified` - the last modified date of the resource\n\t- `etag` - the ETag of the resource\n\t- `expires` - the expiration date of the resource\n\nOther middleware on the stack can generate their own URL fingerprints for\nstatic resources and expose them through `req.assetFingerprint`. Like this:\n\n```javascript\n//Suppose we are in a middleware function, designed to uglify JS files...\n//stat will refer to the stat Object generated by `fs.stat`\nreq.assetFingerprint(javascript_filename, javascript_filename + \"?v=\" +\n\tstat.mdate.getTime(), {\"lastModified\": stat.mdate});\n```\n\nIf you call `req.assetFingerprint(label)` and pass a label, static-asset will return\nthe fingerprint for the resource, as specified by the last corresponding\n`req.assetFingerprint(label, fingerprint, cacheInfo)` call.  If that file is requested,\nstatic-asset will respond by setting the appropriate HTTP headers, according to the\n`cacheInfo` Object passed to the last\n`req.assetFingerprint(label, fingerprint, cacheInfo)` call.\n\n\n### Default Caching Strategy\n\nstatic-asset can be fully customized, but it has some basic, reasonably sane default behavior.\nBy default, static-asset does the following:\n\n- The URL fingerprint of the resource is based on the ETag\n- The ETag is generated based upon the file size and the file's CRC-32 hash.\n- The last modified date is pulled from `fs.stat`\n- The expires date is set to one year in the future\n- The default strategy relies on [`connect.static`]\n(http://www.senchalabs.org/connect/middleware-static.html) to load the resource from\nthe filesystem.\n- In development environments (based on `process.env.NODE_ENV`), the URL fingerprint\nwill be updated whenever the file changes\n- In production environments, the URL fingerprints are cached and cannot\nchange until the server is restarted.\n\n## Basic Usage\n\nUsually, this should be good enough to get started.\n\n```javascript\nvar express = require('express');\nvar app = express();\nvar staticAsset = require('static-asset');\napp.use(staticAsset(__dirname + \"/public/\") );\napp.use(express.static(__dirname + \"/public/\") );\n//... application code follows (routes, etc.)\n```\n\nFor example, if you want to include your client-side JavaScript code, simply\ndo this in your [Jade](https://github.com/visionmedia/jade) or [Blade]\n(https://github.com/bminer/node-blade) view:\n\n```jade\nscript(type=\"text/javascript\", src=assetFingerprint(\"/client.js\") )\n```\n\nThis will render to something like this:\n\n```html\n<script type=\"text/javascript\" src=\"/client.js?v=1318365481\"></script>\n```\n\nNotice that static-asset added a URL fingerprint (the UNIX timestamp\n1318365481) to the filename.\n\n## More Advanced Usage\n\nYou can override the \"cache strategy\" with your own implementation that might\nallow you to:\n\n- Upload the asset to Amazon S3 and generate a URL fingerprint that points to S3\n- Fly in a spaceship to the moon\n- Do something really crazy like generate URL fingerprints that are\nBase64-encoded MD5-hashes of the names of random lunar craters.\n","maintainers":[{"name":"bminer","email":"miner.blake@gmail.com"}],"time":{"modified":"2022-06-27T00:02:04.596Z","created":"2011-12-12T21:53:10.273Z","0.0.0":"2011-12-12T21:53:10.485Z","0.1.0":"2012-07-19T18:45:29.647Z","0.1.1":"2012-07-19T18:56:31.526Z","0.2.0":"2012-07-19T19:22:11.700Z","0.2.1":"2012-07-19T19:25:24.660Z","0.3.0":"2012-07-19T21:39:00.004Z","0.4.0":"2012-11-14T06:15:16.928Z","0.4.1":"2012-11-14T06:20:24.416Z","0.4.2":"2012-11-14T06:23:17.059Z","0.5.0":"2012-11-14T07:05:34.040Z","0.5.1":"2013-01-11T00:22:11.780Z","0.5.2":"2013-01-11T00:26:14.519Z","0.5.3":"2014-04-07T02:03:21.524Z","0.5.4":"2014-04-16T01:19:51.704Z","0.5.5":"2014-05-30T14:03:03.720Z","0.5.6":"2014-11-07T16:11:20.386Z","0.5.7":"2014-11-21T21:55:30.241Z","0.6.0":"2015-03-27T15:38:48.998Z"},"author":{"name":"Blake Miner","email":"miner.blake@gmail.com","url":"http://www.blakeminer.com"},"repository":{"type":"git","url":"git://github.com/bminer/node-static-asset.git"},"keywords":["asset","static","cache","caching","fingerprint","express","middleware"],"readmeFilename":"README.md","bugs":{"url":"https://github.com/bminer/node-static-asset/issues"},"homepage":"https://github.com/bminer/node-static-asset"}