{"_id":"koa-favicon","_rev":"34-d6c9f721b6c489c8273d33aae904975b","name":"koa-favicon","description":"favicon bounce middleware for koa","dist-tags":{"latest":"2.1.0","next":"2.0.0"},"versions":{"1.0.0":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"koajs/favicon"},"version":"1.0.0","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{},"dependencies":{},"license":"MIT","_id":"koa-favicon@1.0.0","dist":{"shasum":"ae521d88937a5aec2303c92cb95cee324d4d4626","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-1.0.0.tgz","integrity":"sha512-BfCWj9iV5jiflMYUBNR8V5YQ6mWj7+3K2VUmpE3D3FJtCB6FfwKQuK/m0xyzMzdbpG5SAjxHdn96MlAU1SULfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWDssA9eDT6voa7JOeviTI+ofJ/oVont2fRVDzYDUTMAiEA6Gf1MnUh/WmGMBMlUAaaHiRHXCiZgE+SHlchRfO/H6E="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{}},"1.0.1":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/favicon"},"version":"1.0.1","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{},"dependencies":{},"license":"MIT","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon","_id":"koa-favicon@1.0.1","dist":{"shasum":"5e0a4bc7fed130a37e01b07a56ed67b69d563cfe","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-1.0.1.tgz","integrity":"sha512-LHu7BAKdsr2uf7j+ulq71U6vNrcUf1vnIQiVKkATGYSmUhn7GRECgmWEIuhrMH00KCV57jLiIHXK8E1GbuCAZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqfuOzblV+ysAY5OuhfBqbJPck8MDuPCwDHPBI+AKB+AIgQ3kA6KPLcr6AG6zYQsBeBWV9EKbrvvpf89l1fo58aUY="}]},"_from":".","_npmVersion":"1.3.18","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"directories":{}},"1.1.0":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/favicon"},"version":"1.1.0","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{"should":"~3.3.1","koa":"~0.6.0","mocha":"~1.18.2","supertest":"~0.12.0"},"dependencies":{"co-fs":"~1.2.0"},"license":"MIT","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon","_id":"koa-favicon@1.1.0","dist":{"shasum":"b45daba8785722417a0daf5845135cf6f351cb88","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-1.1.0.tgz","integrity":"sha512-o22VHmKerDd1YmEf42HAjXPPqS0mHS++eSU1M3EG1XAdLK6xBL/GJn8YkrnnWr43pbZPQJWeFZZbdVJ9lES1hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZm4KQfN82VWt975WCk2mjfj0YWt0ITxSG2CBfJhr2sAIhAJNoS497gV3FmjGzid6xmbGU7BWJm/zSBoSP/xY5faKw"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"}],"directories":{}},"1.2.0":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"https://github.com/koajs/favicon"},"version":"1.2.0","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","should":"~3.3.1","koa":"0","mocha":"^1.18.2","supertest":"0"},"dependencies":{"mz":"^1.0.0"},"license":"MIT","scripts":{"test":"NODE_ENV=test mocha --harmony-generators --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"9377e6c80b2d943931a23ea891880648b6a93553","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon","_id":"koa-favicon@1.2.0","_shasum":"8ac6a115401f1f3e6f7b2736954afa13b72aa5db","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.11.13","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"}],"dist":{"shasum":"8ac6a115401f1f3e6f7b2736954afa13b72aa5db","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-1.2.0.tgz","integrity":"sha512-HsN40LlrseTGS2a9ka/ZEajGtdXcniMKTIRdXYpT59RyF/ZEw2Y9e0dHty4doJJTdDaSVtShnF+HQ2q0+gQbAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ2wXkGRmYP4kkj7PM34Jo1kzT0EArODeK9fZLBQfCFQIhAPIdPeUoTXeHdBtgE7nyPgtiTDgVCJjwl0MKN8Sf46vE"}]},"directories":{}},"1.2.1":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/favicon.git"},"version":"1.2.1","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{"buffer-equal":"^1.0.0","istanbul":"^0.4.2","koa":"^1.0.0","mocha":"^2.0.0","supertest":"^1.0.0"},"dependencies":{"mz":"^2.0.0"},"license":"MIT","scripts":{"test":"NODE_ENV=test mocha --harmony --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"gitHead":"17887c99d906287e38a6522576213b6f2a259b05","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon#readme","_id":"koa-favicon@1.2.1","_shasum":"c001a6db6da6d71272b93fb5b924c392194821d0","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"dist":{"shasum":"c001a6db6da6d71272b93fb5b924c392194821d0","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-1.2.1.tgz","integrity":"sha512-fpSbtjaP6IEc0kvW8OAmsY0FIMxfn+6UOnhLUKGiQEffOn0zwUJ5sL8d6OmdDvhcXE/OX2QFOYMK9/LsB9oMhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVnjJ0J4ucBaQi6/Is2shpBEBH0m+NMSEoNfQMqejVHAiEAxwFQBwzoq6BRazuc2qr1QQe9887IuegFhCLVg4WzvZY="}]},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/koa-favicon-1.2.1.tgz_1456607716652_0.9349143004510552"},"directories":{}},"2.0.0":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/favicon.git"},"version":"2.0.0","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{"istanbul":"^0.4.2","koa":"2.0.0-alpha.3","mocha":"^2.0.0","supertest":"^1.0.0"},"dependencies":{"mz":"^2.0.0"},"license":"MIT","scripts":{"test":"NODE_ENV=test mocha --harmony --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"gitHead":"85fb4f3fa91e78d1275abd8e403d34b6447d5996","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon#readme","_id":"koa-favicon@2.0.0","_shasum":"1c4e5023e71fcbfa64c59def00ae10e6942e5a6e","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"dist":{"shasum":"1c4e5023e71fcbfa64c59def00ae10e6942e5a6e","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-2.0.0.tgz","integrity":"sha512-+k9rdKV/hRHTX1JLWotraOglDo1sZeWfFGV8OhwequjM+S7T3dM+vogUoBpL2Ktin9m3om67xhEMmSgM4VBuSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIALV6mO56xx9V68hlPBMhPwy9OwzCtC02QHxKu6X+NiFAiBaO7GXmWb08+oMZwQxEaCaBKdzZClaTpczG5zHsAdo4g=="}]},"maintainers":[{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"eivifj","email":"eivind.fjeldstad@gmail.com"},{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/koa-favicon-2.0.0.tgz_1456608454033_0.5170284016057849"},"directories":{}},"2.0.1":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/favicon.git"},"version":"2.0.1","keywords":["koa","middleware","favicon"],"files":["index.js"],"devDependencies":{"istanbul":"^0.4.5","koa":"^2.5.0","mocha":"^3.5.3","supertest":"^3.0.0"},"dependencies":{"mz":"^2.7.0"},"license":"MIT","scripts":{"test":"NODE_ENV=test mocha --harmony --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"gitHead":"c97b52ff4d3e8ae9d111005b544b9e63445c1602","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon#readme","_id":"koa-favicon@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"coderhaoxin","email":"haoxins@outlook.com"},"dist":{"integrity":"sha512-chGoY4E+TQ87CQBNsqP9DR9Kq5C10zHZsEr/0gftHyA4f/zmulY043hv8gSrgU3pW8yGjbMEodSHWLdH1yPcxw==","shasum":"cfae363e5fd00bd5dd67c1150fbef31e0b5d6f4d","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-2.0.1.tgz","fileCount":4,"unpackedSize":2768,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkgz9PCm6vbTy9+KMOeXdRXHNlYRzqYZJfSNoD1CbuXAIgMZSN73PIg+KUBGPgNAwMxPsujDmVXowAkkA3Ltv3tn8="}]},"maintainers":[{"email":"aaron.heckmann+github@gmail.com","name":"aheckmann"},{"email":"haoxins@outlook.com","name":"coderhaoxin"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"eivind.fjeldstad@gmail.com","name":"eivifj"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-favicon_2.0.1_1521365119383_0.5622594995763299"},"_hasShrinkwrap":false},"2.1.0":{"name":"koa-favicon","description":"favicon bounce middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/favicon.git"},"version":"2.1.0","keywords":["koa","middleware","favicon"],"devDependencies":{"istanbul":"^0.4.5","koa":"^2.11.0","mocha":"^7.1.0","supertest":"^4.0.2"},"dependencies":{"mz":"^2.7.0"},"license":"MIT","scripts":{"test":"NODE_ENV=test mocha --reporter spec --exit","test-cov":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha -- --exit","test-travis":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --exit"},"gitHead":"19aa7fc1c517f5a8d8cced08132212b2131f45b6","bugs":{"url":"https://github.com/koajs/favicon/issues"},"homepage":"https://github.com/koajs/favicon#readme","_id":"koa-favicon@2.1.0","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-LvukcooYjxKtnZq0RXdBup+JDhaHwLgnLlDHB/xvjwQEjbc4rbp/0WkmOzpOvaHujc+fIwPear0dpKX1V+dHVg==","shasum":"c430cc594614fb494adcb5ee1196a2f7f53ea442","tarball":"https://registry.npmjs.org/koa-favicon/-/koa-favicon-2.1.0.tgz","fileCount":4,"unpackedSize":3059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeV4BUCRA9TVsSAnZWagAAUDkQAI+zux2H5mGavHogFDYE\nHeqq8FxF4JlOSeYR/1JEf460eQRpzNfyUR2PF/LIX7xyaicC43jtqVS3cFPj\nSm+VWJKEELRGWCdp3xqYUNfNGDQLSS7g8u9mMMnMBQ8izudVnZevxA4oeIzf\n5LJD3kuHPvfN2aLjqihSPh7ddhj6Ddixo5NSqeX/+iFeNFD/+PVJ0RsFqURV\nL4tnKhxYSJf9kRvVJAeokgiFtaPJXyZwb6rQSDAEvXR3RF3hUnEDkOqfyAmc\ngHROo1J37/MRkg49RI1rEdO1OGbgl4UThHbLrS2Up9fQDG3Zt3P+Y8ueaH/t\ng2phSuTHbUk0TU9JrmQ3r7O5dhYw10+5g7FeiawZAA/2E1GaX0/76aTN7DHO\nuQpxjFLHBcE1yT3vCqC8tKgZHWc4/TUTJPcy5sdBeke74jOjh2/nTewAvtEu\ndpK+EUZhVqvgIlQyuTbtf0tbYtOCP+ba0bW4RRpGvYAS9p4VJjO+oosPPEYP\nkkhoZqL6NIzrWTDZ/vOQt6Qzc1l5BF282mjEnNqyXQUYAXRXfXGzQNHVjH2X\nkgf3Rg/xUHkWiTy4C6srDRZYapsGlTc3eZDlAJkVWjjoSV80PvY8XiGnBAMB\nmIN4LFio+dJLkqOul39OXwC1AgKw7saIuUFDO9CxNKuq3YbpAZrJsRlkoTcX\n0LOx\r\n=ioyv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuBefsnrmdlpsuapk5GBMBuCDv+InvzaQEOxCoVMTmfAiAgXmRzFZheA698brvL6u/MPZ9BgG2/f1Qlswsu4xJamA=="}]},"maintainers":[{"email":"aaron.heckmann+github@gmail.com","name":"aheckmann"},{"email":"haoxins@outlook.com","name":"coderhaoxin"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"eivind.fjeldstad@gmail.com","name":"eivifj"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"}],"_npmUser":{"name":"coderhaoxin","email":"haoxinst@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-favicon_2.1.0_1582792788218_0.9397108744916098"},"_hasShrinkwrap":false}},"readme":"# koa-favicon [![Build Status](https://travis-ci.org/koajs/favicon.svg)](https://travis-ci.org/koajs/favicon)\n\n Koa middleware for serving a favicon. Based on [serve-favicon](https://github.com/expressjs/serve-favicon).\n\n## Installation\n\n```js\n$ npm install koa-favicon\n```\n\n## Example\n\n```js\nconst Koa = require('koa');\nconst favicon = require('koa-favicon');\nconst app = new Koa();\n\napp.use(favicon(__dirname + '/public/favicon.ico'));\n```\n\n## API\n\n### favicon(path, [options])\n\nReturns a middleware serving the favicon found on the given `path`.\n\n#### options\n\n- `maxAge` cache-control max-age directive in ms, defaulting to 1 day.\n- `mime` specify the mime-type of the favicon, defaults to \"image/x-icon\"\n\n## License\n\n  MIT\n","maintainers":[{"email":"haoxinst@gmail.com","name":"coderhaoxin"},{"email":"aaron.heckmann+github@gmail.com","name":"aaron"},{"email":"julian@juliangruber.com","name":"juliangruber"},{"email":"eivind.fjeldstad@gmail.com","name":"eivifj"},{"email":"dead_horse@qq.com","name":"dead_horse"},{"email":"tj@vision-media.ca","name":"tjholowaychuk"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"},{"email":"fengmk2@gmail.com","name":"fengmk2"}],"time":{"modified":"2022-06-19T09:15:23.431Z","created":"2013-09-14T03:57:26.915Z","1.0.0":"2013-09-14T03:57:28.504Z","1.0.1":"2013-12-22T00:18:05.814Z","1.1.0":"2014-05-05T23:47:20.816Z","1.2.0":"2014-09-24T05:51:38.162Z","1.2.1":"2016-02-27T21:15:19.130Z","2.0.0":"2016-02-27T21:27:36.599Z","2.0.1":"2018-03-18T09:25:19.529Z","2.1.0":"2020-02-27T08:39:48.319Z"},"repository":{"type":"git","url":"git+https://github.com/koajs/favicon.git"},"homepage":"https://github.com/koajs/favicon#readme","keywords":["koa","middleware","favicon"],"bugs":{"url":"https://github.com/koajs/favicon/issues"},"license":"MIT","readmeFilename":"Readme.md","users":{"yanickrochon":true,"po":true,"jessaustin":true,"jon_shen":true,"stellarnode":true,"tomgao365":true,"edwardxyt":true}}