{"versions":{"1.0.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"1.0.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"debug":"^4.3.4","depd":"2.0.0","destroy":"1.2.0","encodeurl":"~1.0.2","escape-html":"~1.0.3","etag":"~1.8.1","fresh":"0.5.2","http-errors":"2.0.0","mime":"1.6.0","ms":"2.1.3","on-finished":"2.4.1","range-parser":"~1.2.1","statuses":"2.0.1"},"devDependencies":{"after":"0.8.2","eslint":"7.32.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.25.4","eslint-plugin-markdown":"2.2.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.2.0","eslint-plugin-standard":"4.1.0","mocha":"9.2.2","nyc":"15.1.0","supertest":"6.2.2"},"engines":{"node":">= 0.8.0"},"scripts":{"lint":"eslint .","test":"mocha --check-leaks --reporter spec --bail","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"gitHead":"e5ebad0871aee89d5aa4a013dc7654694e51b9db","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_id":"@fastify/send@1.0.0","_nodeVersion":"16.19.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-jnj8ONIXiOLv4kPn5O7T4oSD5+ymhOg4dKHW3rnYkB/1PJ1942UH1/trvMUIr+fn1dJ20oatpWycZDkPiLcWfg==","shasum":"248442ea1530535abf0cd609e4cc4ac360a21e4d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-1.0.0.tgz","fileCount":6,"unpackedSize":49123,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7Bd4fhpPxxZRr0P713Ff//ZlaHC3vo+z+6502dJ4EhgIhAILR1Y/yAXz1q7BDgfbvYIPEC72ynhRCIBrT0iB1tUvq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvpHKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNiA/+Majs3/WdC0TOSAFXJu135dM6pl76SWW6EZHQadPzyA4RGAiz\r\nn4qbfEITJM8NX/1thrYSfKQm+p4PoTlAkAFIEv3lmHxqOyCaxUgchRBF4EPL\r\nI6cpG8EEe6tRvKI9nVmC04LKr9syc83QAr61ckl4F0rBY/xbQXfCF6v2gWTg\r\nPyyO+AG9B3PEi3JNTMJvOkboxP2YA6zvCJoPBacTJbQ4GBd7amta5bRiUAon\r\nm1dqM7ACTMfgNUOk+LfvR9ezn2f8fdE4LUDY6Xe35aEjVoI/6ctC0Qz0FPk8\r\nBtEU4hx9fk/z7OivxQ4lTSDFb5JiSQ1FHuVWMbIznA2Mxx4vz0NzIYqVjtkX\r\nev/o8JYh9syOqcsOJQB0b0MWxq/my7RYbqke8RtEdkGUPxKraeTFG6O8dwa+\r\nxacY0QfS1sRsihto7RD4TH/5IiiRgycWsXoJ13tgRuAsEaWC5ulEV3/wvcGo\r\nPvm2TOHjUtGcLwU7vCIqjP3sOUlztYFO37nqySJT566qv0Y8EtkhANHqMulY\r\nrmiv8y3isyyo0UjBKPXE5ZwKs4R0qJtf46BeXqHierou4Y+b9Ii54KJNdd/T\r\nTnUtB1LpG8ESOvLDpxJR1LV3WaPHvYif7wDGcFXm3U409OyoqJrkEUkShEQP\r\nrzTj63xWEOthfCUAS22m9EuYPYhfOxm08lk=\r\n=mflr\r\n-----END PGP SIGNATURE-----\r\n","size":15248},"_npmUser":{"name":"anonymous","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"david.mark.clements@gmail.com"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_1.0.0_1673433545860_0.30910313976691506"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-11T10:39:06.061Z","publish_time":1673433546061},"2.0.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"2.0.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"2.0.0","mime":"^3.0.0","@lukeed/ms":"^2.0.1"},"devDependencies":{"@fastify/pre-commit":"^2.0.2","@types/node":"^18.11.18","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.0.0","supertest":"6.3.3","tap":"^16.3.3","tsd":"^0.25.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"gitHead":"f52d44c4f905845d69ebbc43ea4a6880fc3b967b","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_id":"@fastify/send@2.0.0","_nodeVersion":"16.19.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-BqzqvFD5QNHms95ZBcK+qNgPikmE9d+QmRrgYniPa7INGn4ky8q+4OiIjEDsu+OYRu+KRUvf+KfouXSg0AyXag==","shasum":"444e4a26afc61370454e27ae460ecf1e8d23d5e8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-2.0.0.tgz","fileCount":49,"unpackedSize":132291,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfNKv9/oN1/rb09Hb8USoMCBzvNkhsIlO3yCVOM8JaYAiEAp0grH9WaufGEJ8QRbr/Wypubd4BO79IWKcjPOJzVY5E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1vFKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwAg//RrbAmLW59BgzskrPhqGRuurfjdDYgYhpAyaPKI7qsveEqBYU\r\nMR7wLHpXnFGKnm9yZpO+lHVkKho3vlPqxccOp57KlckXgpqm0aQEoCD8QeOL\r\nPLw9cTiBPQa/+tUUmX7sFXiX7BfaDPLhWYMhi68dFpwjyRqdxYi+5iPXF9sz\r\nk6XOttcieEX9+KzKR/JmSIxzf0vdFCfoVnGmsQ0UnatlVpE3dpT0HvZM77AQ\r\nMXGS5ltKc/7d8n7ZHFCpaBd0mKth7s2j+bFaErKaUKE+NXYQGQ8p5UVjZzPT\r\nX6uhqIsTEPZsV2348ln9KIV1REwJ8u+humB2Qf0s7fcTlRPh5O29m4WI5fEt\r\nzUJiwqDsdbwmNrnzeZR78kBbujj+FQkWslZ/Bwo6Dv0CFnXOR9Hf68OhSJ/U\r\n1grXkkDkYupWqiA00VRM9Rp8ZlcMvb5ihgsU79rI+4sISwc4uNRGdE00vMzA\r\nX9EV9kl0FNGFo/hpa3gjGOQTGzr7tD1P7vyuDGUgsYwnwwXzTCL+L+p9D0IL\r\nuKN17S57N6JWiSsO/PKBIzRAtIX1WlYW1pnpE3tF9EMTd8via317gm3IEY9S\r\nmHMqG2O3H1hSDF2klNIQ61fZQAJLj5pHBKamrxiY1JI2Vkdd4SGevZL3CXRl\r\nmtQzKx49DnB8xEwP51WksDogE++nfFmzrT8=\r\n=Ba9b\r\n-----END PGP SIGNATURE-----\r\n","size":27243},"_npmUser":{"name":"anonymous","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"david.mark.clements@gmail.com"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_2.0.0_1675030858507_0.02302246363972893"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-29T22:20:58.660Z","publish_time":1675030858660},"2.0.1":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"2.0.1","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"2.0.0","mime":"^3.0.0","@lukeed/ms":"^2.0.1"},"devDependencies":{"@fastify/pre-commit":"^2.0.2","@types/node":"^18.11.18","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.0.0","supertest":"6.3.3","tap":"^16.3.3","tsd":"^0.25.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"gitHead":"0cda6e4d68142ddf66a617abf1c9152b9f2768a7","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_id":"@fastify/send@2.0.1","_nodeVersion":"16.19.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-8jdouu0o5d0FMq1+zCKeKXc1tmOQ5tTGYdQP3MpyF9+WWrZT1KCBdh6hvoEYxOm3oJG/akdE9BpehLiJgYRvGw==","shasum":"db10d1401883b4aef41669fcf2ddb4e1bb4630df","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-2.0.1.tgz","fileCount":49,"unpackedSize":132306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC538wX1UwROZF4o7HlcEn6K3MnSGSP+eS8P6WkBDtv8AIgcVXqdD5SqdkU2gwrFy5RK723XArwaCtFGvslAnfmbKM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj18dTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFeBAAkiujqaVzlwAOgSb1gieAbDOWog+vgSuiuatp6TJbmWf1fXG+\r\nmBbop7I6rwVSKwhE2aO3HOz37eRRvteK/Y7ji7rmBOjYHfNveXkgUIs4XXdg\r\nRfq57K589PZOILmYvT91XHdEqZkfrz4sczj9EdBeKAYxF35EeKUwN2GTz60H\r\nJ6rsxIicGlRTtrdyZAoUGAOFsTkct7RTxOW/M6/jqhWEgLdvMigxmTpZWKxb\r\n1FwLywxGedLRG795C5Y0smGdVm5k22/Sthd6wPO7eHVXkHllW1/mhXWml20/\r\nDSrivR7k89ypjqm4Ka9360JXpDMFQPxVy7gyEwbOz1289akaM7gcv2JlgLd5\r\n3SM2iiRl5RkRxESkSKfrrTJwYt8DwXMFgJ9zMQAWWA1dOk/d/LrHGXpdm/Kk\r\nOhU6cgFWFdt03qvydwVztsmhF94hPtpoBjmjRtYY57BkuJg72T+TSBZQU8vA\r\nB7ftR/n56Twa/YM8KyflcPZ7na50ggQWcKqm34cQ1MCGI0iV3qAXeUoEBv18\r\n39lR32frOigpN/BlL1fEGqSHxAKe/Aqaeh1f7MBVbO7+ZMF549qfKBdwJZtX\r\nah5GG7AFFWjIaN10TuPvnjosvB2/JD/oIca4K9KsS69mgA7JnkECT4Xgjla/\r\n+HEwSkWoeWqlZnowLaiZzdRHArq2++IwEHE=\r\n=/0fG\r\n-----END PGP SIGNATURE-----\r\n","size":27244},"_npmUser":{"name":"anonymous","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"david.mark.clements@gmail.com"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_2.0.1_1675085650910_0.09620607924656732"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-30T13:34:11.130Z","publish_time":1675085651130},"2.1.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"2.1.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"2.0.0","mime":"^3.0.0","@lukeed/ms":"^2.0.1"},"devDependencies":{"@fastify/pre-commit":"^2.0.2","@types/node":"^18.11.18","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.0.0","supertest":"6.3.3","tap":"^16.3.3","tsd":"^0.28.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"gitHead":"49f3ea44e1bd5c953d01fc4e471e00118d7e4ba7","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_id":"@fastify/send@2.1.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-yNYiY6sDkexoJR0D8IDy3aRP3+L4wdqCpvx5WP+VtEU58sn7USmKynBzDQex5X42Zzvw2gNzzYgP90UfWShLFA==","shasum":"1aa269ccb4b0940a2dadd1f844443b15d8224ea0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-2.1.0.tgz","fileCount":57,"unpackedSize":139025,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBL2T54fLPu9V2bNlyLDS50GMBoxaxvBtUEr7yT7Ew9CAiBvoNwaKIT+Yv2m2iPHk3EjMlYRBueFRUOk547xZd82Zg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkODeOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBQg//XgYfkIDCQkynIH5bIx/W43fWxHPqSkJruILSaRMXC1cfN5cL\r\nd9EfItRhLmX+/lcynJqz1+dljFtO89ODVJHTx50YSFYVbSNNB+Hh5jtfMBQw\r\nFnFMojGMOIAPjlFuUwo/VkTWie7kXE88rl8X/B4EL/xnE8nH/l6eTBgfu1M9\r\nzalfkDInjAPCkPB5cvFcS1UgmJQkWAO13fNp2XPuH5p3Fe/kWE/vwU9ANzDX\r\n3lLjRdXBSGNM5yUUrs3MBHD/cEA6+U4BF/IDjs++y7S+t+GqJnpVHAx5S4RX\r\nd55AqbOjZm/iyo6OrSNBbRO9wjdXfIFPyprtLIAfvGeRNxR9PtTiolAqhLlb\r\nSgeb6q/7Q0vki+88XdZrFwiLnbhRlK1KjldYh4z7QWcg99yOdvPToOBHa9Ce\r\nbqUeJBX1hZjuwCDwGECEPfdx5e3GintJxIA9QhwFzid+HszURnXUsl+JCdr7\r\nxxAOIGLw8cwjIXHlL/2D9lidBxJwauGT0TQ1k0py0K8Oi9cpklfTKTok9TYY\r\n6QTesxJqYwjikUNeBEaZzL4FZal1r+s+9lU/H+0O2TlNjOTUJ53t7irZSNDF\r\nPKwD+DwSB2QBfSVM24H+z4y5mYCIJzS+23r66uDTKyD2WWdXccQQtMLI60Xf\r\nP2R2QOqiEhjA+Stxap08IhoQVn/JZBANAcU=\r\n=SfVv\r\n-----END PGP SIGNATURE-----\r\n","size":28477},"_npmUser":{"name":"anonymous","email":"behemoth89@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_2.1.0_1681405838252_0.18459531316441358"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-13T17:10:38.451Z","publish_time":1681405838451},"3.0.0-pre.fv5.1":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.0.0-pre.fv5.1","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"2.0.0","mime":"^3","@lukeed/ms":"^2.0.2"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^20.12.2","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.1.0","supertest":"6.3.4","tap":"^18.7.2","tsd":"^0.31.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.0.0-pre.fv5.1","readmeFilename":"README.md","gitHead":"7a2fc6a9ba6d604ea419982c3baefe54f167b444","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-5/26GFDi6cGZP+ruVUNfUrECmBlxzaX4zy6ajaBekqc+P3dR6CT3tPposf1t4bwP0wMcg9fLkyiWbLrhBiVuFQ==","shasum":"07095538fd3a7b0a408f9c9a0ae8c4ba54f71569","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.0.0-pre.fv5.1.tgz","fileCount":58,"unpackedSize":139545,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuBDou88LXX2SWSL2rU/1dPf4xyej91BQV4IvdrEzcygIhAK7RdC9r8ew4zdya+kEVH4tnOX3OB5YoOaPF/oaftmHy"}],"size":28667},"_npmUser":{"name":"anonymous","email":"james.sumners@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_3.0.0-pre.fv5.1_1720175703276_0.1328921783607251"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-05T10:35:03.473Z","publish_time":1720175703473,"_source_registry_name":"default"},"3.0.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.0.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","mime":"^3","@lukeed/ms":"^2.0.2"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^20.12.2","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.1.0","supertest":"6.3.4","tap":"^20.0.3","tsd":"^0.31.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.0.0","gitHead":"ab277e4ee7f1cd7a8ce5504809e4a1b8f8a6c269","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-mBAgIeDOU2JvhUPYj8WnDI/SC0+Sjiq4YVNC5gdVuiofXGM8Jggh2xl43DlGr6TtG8z1VZKjMK3hieCragtKZQ==","shasum":"e9290bf53765805469ac8a03ac34fe3c0daf1176","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.0.0.tgz","fileCount":54,"unpackedSize":118134,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvpLhN4MWbREkexFAR+3o4EvPMeuSvmjh8dK0gtfzpZAIgChHDEJxVbF6IA6erFYYRFds5F4SV+osBHhEQ/chIQTM="}],"size":24747},"_npmUser":{"name":"anonymous","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_3.0.0_1720518334773_0.06372955252067491"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-09T09:45:34.990Z","publish_time":1720518334990,"_source_registry_name":"default"},"3.1.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.1.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^20.12.2","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.1.0","supertest":"6.3.4","tap":"^20.0.3","tsd":"^0.31.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.1.0","gitHead":"c0310bad0e8aadcd6daef56723b701dd502d173c","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-2y1Fd2JI7jbn2LS2bIn7eakFJLfdk/9tEeWGM8yHla2YSKmViL5J3aMbmSz+TJGGmUS5zE7HT/ew5SH9T/fp/A==","shasum":"c13f4471645fd81392452e5dd2bd06a14421ec4e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.1.0.tgz","fileCount":56,"unpackedSize":126309,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmC0ger2aaA7e2U0JSs2SOR015T5dh610PXM1L7+xNiAIhAPgeziugZ3l9PXEUHWvIBBt+1+lcdEY6ATcEZ6TL13mX"}],"size":26183},"_npmUser":{"name":"anonymous","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_3.1.0_1720778040379_0.08907107829558658"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-12T09:54:00.546Z","publish_time":1720778040546,"_source_registry_name":"default"},"3.1.1":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.1.1","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^22.0.0","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.1.0","supertest":"6.3.4","tap":"^21.0.0","tsd":"^0.31.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.1.1","gitHead":"7dcacdbdfc636a44be03c35e6c22692e5dd0418c","bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-LdiV2mle/2tH8vh6GwGl0ubfUAgvY+9yF9oGI1iiwVyNUVOQamvw5n+OFu6iCNNoyuCY80FFURBn4TZCbTe8LA==","shasum":"455a8fa56ae005c4c387ddf111364f346b848117","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.1.1.tgz","fileCount":56,"unpackedSize":126201,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8AezJNwJJgnK4dfvRm55ucsycwpG/lizWhHIL53K5kAiEApQDeQ4fPBn/0P3jnNXpnbr2Mr5AU4f9OJWyT97LSLGY="}],"size":26137},"_npmUser":{"name":"anonymous","email":"hello@matteocollina.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_3.1.1_1726226846704_0.18011683619754693"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-13T11:27:27.011Z","publish_time":1726226847011,"_source_registry_name":"default"},"3.2.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.2.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^22.0.0","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.1.0","supertest":"6.3.4","tap":"^21.0.0","tsd":"^0.31.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.2.0","gitHead":"52f810ecc5c57d9c57ccddab7b6a8692755aed68","_nodeVersion":"20.18.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-qF4TIEMjqk92jrOXjcqBrkk+HOXE70AwDKas9/AweFslbvSq0o1JEAHzC7YlggBaj4bN9pU70XIPyseEJ6vlXg==","shasum":"c1cf5a1c18de1e266db1d7886e63ab3564d38c95","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.2.0.tgz","fileCount":56,"unpackedSize":127586,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGBnBD+SpJBfmy1x8av2rRiumPfOUpsAbw7tqZiKRO+wIhAOfcPFuoMBxmOnyDsnmFVtd7ds/zMeW2hYuK36lr+7Wl"}],"size":26306},"_npmUser":{"name":"anonymous","email":"frazer.dev@icloud.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"frazer.dev@icloud.com"},{"name":"anonymous","email":"ivan@tymoshenko.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_3.2.0_1732271929372_0.7462246067885914"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-22T10:38:49.531Z","publish_time":1732271929531,"_source_registry_name":"default"},"3.3.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.3.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^22.0.0","after":"0.8.2","benchmark":"^2.1.4","snazzy":"^9.0.0","standard":"^17.1.0","supertest":"6.3.4","tap":"^21.0.0","tsd":"^0.31.0"},"scripts":{"lint":"standard | snazzy","lint:fix":"standard --fix | snazzy","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.3.0","gitHead":"14de39b72db56506e53e636d5fdad2a5e98c0ae0","_nodeVersion":"20.18.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-hvrgPVG3oehn4wSPmRdqZcBCsEt7Lp6WOd6vsJ3Ms4hc5r5zouT9Ls9wq6R2tHMgJGHhNtsmd0CnhP7lmF7OTg==","shasum":"c1a8cb2d5f51a49ccd6f0db73594c2ddd943b0c4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.3.0.tgz","fileCount":56,"unpackedSize":130845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZmd9gfOfiw6So28C4RxVazv2TY6zPjOOxltjS4m6MqAIhALcT7Q/hzi6hwdq3XOUS+RlyhA69O3kr9gUz2ZtK7yEN"}],"size":26652},"_npmUser":{"name":"anonymous","email":"frazer.dev@icloud.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"ivan@tymoshenko.me"},{"name":"anonymous","email":"frazer.dev@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/send_3.3.0_1733215404996_0.6177856078777533"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-03T08:43:25.147Z","publish_time":1733215405147,"_source_registry_name":"default"},"3.3.1":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"3.3.1","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"},{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^22.0.0","after":"0.8.2","benchmark":"^2.1.4","eslint":"^9.17.0","neostandard":"^0.12.0","supertest":"6.3.4","tap":"^21.0.0","tsd":"^0.31.0"},"scripts":{"lint":"eslint","lint:fix":"eslint --fix","test":"npm run test:unit && npm run test:typescript","test:coverage":"tap --coverage-report=html","test:typescript":"tsd","test:unit":"tap"},"pre-commit":["lint","test"],"_id":"@fastify/send@3.3.1","gitHead":"4826d1bdd2bdc5339b7059b79347441db21cddf7","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-6pofeVwaHN+E/MAofCwDqkWUliE3i++jlD0VH/LOfU8TJlCkMUSgKvA9bawDdVXxjve7XrdYMyDmkiYaoGWEtA==","shasum":"cb5759480eb4110b44d9af613d61b3f8b2933d8b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-3.3.1.tgz","fileCount":57,"unpackedSize":131642,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvp+O5Uk3R0/wSb/YTC12kq+1NTkR1fs4GLsXhoYTinwIgBHqGUf1jm2+yfcXhKwHGET3KpiJiFcuk4QBEQKkmXPc="}],"size":26918},"_npmUser":{"name":"anonymous","email":"frazer.dev@icloud.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"ivan@tymoshenko.me"},{"name":"anonymous","email":"frazer.dev@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/send_3.3.1_1736017846019_0.6994541390149995"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-04T19:10:46.426Z","publish_time":1736017846426,"_source_registry_name":"default"},"4.0.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"4.0.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"},{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^22.0.0","after":"0.8.2","benchmark":"^2.1.4","c8":"^10.1.3","eslint":"^9.17.0","neostandard":"^0.12.0","supertest":"6.3.4","tsd":"^0.31.0"},"scripts":{"lint":"eslint","lint:fix":"eslint --fix","test":"npm run test:unit && npm run test:typescript","test:coverage":"c8 --reporter html node --test","test:typescript":"tsd","test:unit":"c8 --100 node --test"},"pre-commit":["lint","test"],"_id":"@fastify/send@4.0.0","gitHead":"682f0f84af7ae8cb6a9c64534a61a2bc602af5d4","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-eJjKDxyBnZ1iMHcmwYWG5wSA/yzVY/yrBy3Upd2+hc0omcK13tWeXRcbF28zEcbl+Z2kXEgMzJ5Rb/gXGWx9Rg==","shasum":"401cbc7b5bf76b1f2f22bc340f90261e7ae60c24","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-4.0.0.tgz","fileCount":56,"unpackedSize":129036,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDsTwI4mmK0ZhRpQHzGKVXpi5RhmpGmK7Vw5zDa2wgVZgIgGaI2fLYBfsiazFQt3RCkqbzWiqfUhZ7K/nWfxa43hhE="}],"size":26715},"_npmUser":{"name":"anonymous","email":"frazer.dev@icloud.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"ivan@tymoshenko.me"},{"name":"anonymous","email":"frazer.dev@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/send_4.0.0_1739121424560_0.8606648949600155"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-09T17:17:04.790Z","publish_time":1739121424790,"_source_registry_name":"default"},"4.1.0":{"name":"@fastify/send","description":"Better streaming static file server with Range and conditional-GET support","version":"4.1.0","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"James Wyatt Cready","email":"jcready@gmail.com"},{"name":"Jesús Leganés Combarro","email":"piranna@gmail.com"},{"name":"Matteo Collina","email":"hello@matteocollina.com"},{"name":"Frazer Smith","email":"frazer.dev@icloud.com","url":"https://github.com/fdawgs"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"}],"main":"index.js","type":"commonjs","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/send.git"},"bugs":{"url":"https://github.com/fastify/send/issues"},"homepage":"https://github.com/fastify/send#readme","funding":[{"type":"github","url":"https://github.com/sponsors/fastify"},{"type":"opencollective","url":"https://opencollective.com/fastify"}],"keywords":["static","file","server"],"dependencies":{"@lukeed/ms":"^2.0.2","escape-html":"~1.0.3","fast-decode-uri-component":"^1.0.1","http-errors":"^2.0.0","mime":"^3"},"devDependencies":{"@fastify/pre-commit":"^2.1.0","@types/node":"^22.0.0","after":"0.8.2","benchmark":"^2.1.4","c8":"^10.1.3","eslint":"^9.17.0","neostandard":"^0.12.0","supertest":"6.3.4","tsd":"^0.32.0"},"scripts":{"lint":"eslint","lint:fix":"eslint --fix","test":"npm run test:unit && npm run test:typescript","test:coverage":"c8 --reporter html node --test","test:typescript":"tsd","test:unit":"c8 --100 node --test"},"pre-commit":["lint","test"],"_id":"@fastify/send@4.1.0","gitHead":"1b54ebfce9a47325787663f4484b54dd855fa07a","_nodeVersion":"24.0.2","_npmVersion":"11.3.0","dist":{"integrity":"sha512-TMYeQLCBSy2TOFmV95hQWkiTYgC/SEx7vMdV+wnZVX4tt8VBLKzmH8vV9OzJehV0+XBfg+WxPMt5wp+JBUKsVw==","shasum":"d9c283b86e12080c0dcc160bbc16106debf1f0d3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@fastify/send/-/send-4.1.0.tgz","fileCount":56,"unpackedSize":131484,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDCiYtGv57WjyyLyBHRZyZc4jHI8U5KnRKpd+sxvW6VIAIgdd+QgqqzmPuW1bl1ngUQtcewHzYxG4FkBv9hR6geRxE="}],"size":27096},"_npmUser":{"name":"anonymous","email":"frazer.dev@icloud.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"deusdustin@gmail.com"},{"name":"anonymous","email":"simone.busoli@gmail.com"},{"name":"anonymous","email":"community@coopflow.com"},{"name":"anonymous","email":"tommydelved@gmail.com"},{"name":"anonymous","email":"hello@matteocollina.com"},{"name":"anonymous","email":"tomallevi@gmail.com"},{"name":"anonymous","email":"james.sumners@gmail.com"},{"name":"anonymous","email":"vince.legoff@gmail.com"},{"name":"anonymous","email":"rafael.nunu@hotmail.com"},{"name":"anonymous","email":"behemoth89@gmail.com"},{"name":"anonymous","email":"maksim@sinik.it"},{"name":"anonymous","email":"harry@harry.me"},{"name":"anonymous","email":"iselwin@gmail.com"},{"name":"anonymous","email":"kaka@kakawebsitedemo.com"},{"name":"anonymous","email":"jonasgalvez@gmail.com"},{"name":"anonymous","email":"sbekkhus91@gmail.com"},{"name":"anonymous","email":"hey@gurgun.day"},{"name":"anonymous","email":"me@metcoder.dev"},{"name":"anonymous","email":"ivan@tymoshenko.me"},{"name":"anonymous","email":"frazer.dev@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/send_4.1.0_1749139147514_0.8346554476635157"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-05T15:59:07.719Z","publish_time":1749139147719,"_source_registry_name":"default"}},"dist-tags":{"latest":"4.1.0","next":"3.0.0-pre.fv5.1"},"name":"@fastify/send","time":{"created":"2023-01-11T12:41:24.563Z","modified":"2026-03-05T20:02:34.667Z","1.0.0":"2023-01-11T10:39:06.061Z","2.0.0":"2023-01-29T22:20:58.660Z","2.0.1":"2023-01-30T13:34:11.130Z","2.1.0":"2023-04-13T17:10:38.451Z","3.0.0-pre.fv5.1":"2024-07-05T10:35:03.473Z","3.0.0":"2024-07-09T09:45:34.990Z","3.1.0":"2024-07-12T09:54:00.546Z","3.1.1":"2024-09-13T11:27:27.011Z","3.2.0":"2024-11-22T10:38:49.531Z","3.3.0":"2024-12-03T08:43:25.147Z","3.3.1":"2025-01-04T19:10:46.426Z","4.0.0":"2025-02-09T17:17:04.790Z","4.1.0":"2025-06-05T15:59:07.719Z"},"readme":"# @fastify/send\n\n[![CI](https://github.com/fastify/send/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/fastify/send/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/@fastify/send.svg?style=flat)](https://www.npmjs.com/package/@fastify/send)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)\n\nSend is a library for streaming files from the file system as an HTTP response\nsupporting partial responses (Ranges), conditional-GET negotiation (If-Match,\nIf-Unmodified-Since, If-None-Match, If-Modified-Since), high test coverage,\nand granular events which may be leveraged to take appropriate actions in your\napplication or framework.\n\n## Installation\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```bash\n$ npm install @fastify/send\n```\n\n### TypeScript\n\n`@types/mime@3` must be used if wanting to use TypeScript;\n`@types/mime@4` removed the `mime` types.\n\n```bash\n$ npm install -D @types/mime@3\n```\n\n## API\n\n```js\nconst send = require('@fastify/send')\n```\n\n### send(req, path, [options])\n\nProvide `statusCode`, `headers`, and `stream` for the given path to send to a\n`res`. The `req` is the Node.js HTTP request and the `path `is a urlencoded path\nto send (urlencoded, not the actual file-system path).\n\n#### Options\n\n##### acceptRanges\n\nEnable or disable accepting ranged requests, defaults to true.\nDisabling this will not send `Accept-Ranges` and ignore the contents\nof the `Range` request header.\n\n##### cacheControl\n\nEnable or disable setting `Cache-Control` response header, defaults to\ntrue. Disabling this will ignore the `immutable` and `maxAge` options.\n\n##### contentType\n\nBy default, this library uses the `mime` module to set the `Content-Type`\nof the response based on the file extension of the requested file.\n\nTo disable this functionality, set `contentType` to `false`.\nThe `Content-Type` header will need to be set manually if disabled.\n\n##### dotfiles\n\nSet how \"dotfiles\" are treated when encountered. A dotfile is a file\nor directory that begins with a dot (\".\"). Note this check is done on\nthe path itself without checking if the path exists on the\ndisk. If `root` is specified, only the dotfiles above the root are\nchecked (i.e. the root itself can be within a dotfile when set\nto \"deny\").\n\n  - `'allow'` No special treatment for dotfiles.\n  - `'deny'` Send a 403 for any request for a dotfile.\n  - `'ignore'` Pretend like the dotfile does not exist and 404.\n\nThe default value is _similar_ to `'ignore'`, with the exception that\nthis default will not ignore the files within a directory that begins\nwith a dot, for backward-compatibility.\n\n##### end\n\nByte offset at which the stream ends, defaults to the length of the file\nminus 1. The end is inclusive in the stream, meaning `end: 3` will include\nthe 4th byte in the stream.\n\n##### etag\n\nEnable or disable etag generation, defaults to true.\n\n##### extensions\n\nIf a given file doesn't exist, try appending one of the given extensions,\nin the given order. By default, this is disabled (set to `false`). An\nexample value that will serve extension-less HTML files: `['html', 'htm']`.\nThis is skipped if the requested file already has an extension.\n\n##### immutable\n\nEnable or disable the `immutable` directive in the `Cache-Control` response\nheader, defaults to `false`. If set to `true`, the `maxAge` option should\nalso be specified to enable caching. The `immutable` directive will prevent\nsupported clients from making conditional requests during the life of the\n`maxAge` option to check if the file has changed.\n\n##### index\n\nBy default send supports \"index.html\" files, to disable this\nset `false` or to supply a new index pass a string or an array\nin preferred order.\n\n##### lastModified\n\nEnable or disable `Last-Modified` header, defaults to true. Uses the file\nsystem's last modified value.\n\n##### maxAge\n\nProvide a max-age in milliseconds for HTTP caching, defaults to 0.\nThis can also be a string accepted by the\n[ms](https://www.npmjs.org/package/ms#readme) module.\n\n##### maxContentRangeChunkSize\n\nSpecify the maximum response content size, defaults to the entire file size.\nThis will be used when `acceptRanges` is true.\n\n##### root\n\nServe files relative to `path`.\n\n##### start\n\nByte offset at which the stream starts, defaults to 0. The start is inclusive,\nmeaning `start: 2` will include the 3rd byte in the stream.\n\n##### highWaterMark\n\nWhen provided, this option sets the maximum number of bytes that the internal \nbuffer will hold before pausing reads from the underlying resource.\nIf you omit this option (or pass undefined), Node.js falls back to \nits built-in default for readable binary streams.\n\n### .mime\n\nThe `mime` export is the global instance of the\n[`mime` npm module](https://www.npmjs.com/package/mime).\n\nThis is used to configure the MIME types that are associated with file extensions\nas well as other options for how to resolve the MIME type of a file (like the\ndefault type to use for an unknown file extension).\n\n## Caching\n\nIt does _not_ perform internal caching, you should use a reverse proxy cache\nsuch as Varnish for this, or those fancy things called CDNs. If your\napplication is small enough that it would benefit from single-node memory\ncaching, it's small enough that it does not need caching at all ;).\n\n## Debugging\n\nTo enable `debug()` instrumentation output export __NODE_DEBUG__:\n\n```\n$ NODE_DEBUG=send node app\n```\n\n## Running tests\n\n```\n$ npm install\n$ npm test\n```\n\n## Examples\n\n### Serve a specific file\n\nThis simple example will send a specific file to all requests.\n\n```js\nconst http = require('node:http')\nconst send = require('send')\n\nconst server = http.createServer(async function onRequest (req, res) {\n  const { statusCode, headers, stream } = await send(req, '/path/to/index.html')\n  res.writeHead(statusCode, headers)\n  stream.pipe(res)\n})\n\nserver.listen(3000)\n```\n\n### Serve all files from a directory\n\nThis simple example will just serve up all the files in a\ngiven directory as the top-level. For example, a request\n`GET /foo.txt` will send back `/www/public/foo.txt`.\n\n```js\nconst http = require('node:http')\nconst parseUrl = require('parseurl')\nconst send = require('@fastify/send')\n\nconst server = http.createServer(async function onRequest (req, res) {\n  const { statusCode, headers, stream } = await send(req, parseUrl(req).pathname, { root: '/www/public' })\n  res.writeHead(statusCode, headers)\n  stream.pipe(res)\n})\n\nserver.listen(3000)\n```\n\n### Custom file types\n\n```js\nconst http = require('node:http')\nconst parseUrl = require('parseurl')\nconst send = require('@fastify/send')\n\n// Default unknown types to text/plain\nsend.mime.default_type = 'text/plain'\n\n// Add a custom type\nsend.mime.define({\n  'application/x-my-type': ['x-mt', 'x-mtt']\n})\n\nconst server = http.createServer(function onRequest (req, res) {\n  const { statusCode, headers, stream } = await send(req, parseUrl(req).pathname, { root: '/www/public' })\n  res.writeHead(statusCode, headers)\n  stream.pipe(res)\n})\n\nserver.listen(3000)\n```\n\n### Custom directory index view\n\nThis is an example of serving up a structure of directories with a\ncustom function to render a listing of a directory.\n\n```js\nconst http = require('node:http')\nconst fs = require('node:fs')\nconst parseUrl = require('parseurl')\nconst send = require('@fastify/send')\n\n// Transfer arbitrary files from within /www/example.com/public/*\n// with a custom handler for directory listing\nconst server = http.createServer(async function onRequest (req, res) {\n  const { statusCode, headers, stream, type, metadata } = await send(req, parseUrl(req).pathname, { index: false, root: '/www/public' })\n  if(type === 'directory') {\n    // get directory list\n    const list = await readdir(metadata.path)\n    // render an index for the directory\n    res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' })\n    res.end(list.join('\\n') + '\\n')\n  } else {\n    res.writeHead(statusCode, headers)\n    stream.pipe(res)\n  }\n})\n\nserver.listen(3000)\n```\n\n### Serving from a root directory with custom error-handling\n\n```js\nconst http = require('node:http')\nconst parseUrl = require('parseurl')\nconst send = require('@fastify/send')\n\nconst server = http.createServer(async function onRequest (req, res) {\n  // transfer arbitrary files from within\n  // /www/example.com/public/*\n  const { statusCode, headers, stream, type, metadata } = await send(req, parseUrl(req).pathname, { root: '/www/public' })\n  switch (type) {\n    case 'directory': {\n      // your custom directory handling logic:\n      res.writeHead(301, {\n        'Location': metadata.requestPath + '/'\n      })\n      res.end('Redirecting to ' + metadata.requestPath + '/')\n      break\n    }\n    case 'error': {\n      // your custom error-handling logic:\n      res.writeHead(metadata.error.status ?? 500, {})\n      res.end(metadata.error.message)\n      break\n    }\n    default: {\n      // your custom headers\n      // serve all files for download\n      res.setHeader('Content-Disposition', 'attachment')\n      res.writeHead(statusCode, headers)\n      stream.pipe(res)\n    }\n  }\n})\n\nserver.listen(3000)\n```\n\n## License\n\nLicensed under [MIT](./LICENSE).","users":{}}