{"_id":"@fastify/middie","_rev":"49-a11814ef71fd311108a8f5180f6b16ba","name":"@fastify/middie","dist-tags":{"next":"9.0.1","latest":"9.3.5"},"versions":{"8.0.0":{"name":"@fastify/middie","version":"8.0.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.0.0","maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"ethan_arrowood","email":"ethan@arrowood.dev"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middleman#readme","bugs":{"url":"https://github.com/fastify/middleman/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"78fe18e948e03de0c7453d0f813d198acac233ca","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.0.0.tgz","fileCount":16,"integrity":"sha512-SsZUzJwRV2IBhko8TNI5gGzUdUp2Xd0XCrU+pBTfsMN8LYGsksDI/Hb3qcUZ2/Kfg6ecbFEeRO4nZmHeFCDpHQ==","signatures":[{"sig":"MEYCIQCy3UKCRRJGqt4Dt1RW7kl+X990Ad6vZTVYsln9XK0qMwIhAKylUUhBQHgj/Ax34EIYPdA710fNfGzhiJohEP6Kv50A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinYBSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYUQ/+OLpkGtunEV9WnwsgiE07gGXXDxd/SpXBDX1tWd4C1sTMa6oL\r\n7hSLzpTK6hm9s8ng2Gi+zUsWiEReQUj7jJ8V7LB1kUl3BqIpM4ch9oXJVN9p\r\nieHNxWM4nw3Podt2ISsp06lh47DdJVQNGnzQI3oyQ9nNy1GFefhBmZX710+Q\r\n4/HZW6Q3z/KNibb6VbEwmKQ51OPwglvqMhC2dILk5hTf7HGLuTIi4bpeSPOl\r\niQDVNASpCPUkJRf7tTADatmgP1I2Ov2UiG4YeSk3CgMr2W3RJCP7Rogk0F52\r\nOh2OhYr4MLINBqdesySpkUKA1p5mPrNJ7E4VEK5RxEjh2MOyukAPBj25FsUI\r\nb59v8yfiy+up3lwuBrbc9lsfJV5hrAO6aDwdwzKmSj5gIMJX2gRJ0aauJRd/\r\nP87CFJs1TFa2ZKD+ygFvcSCLUqnQy/WvidOmUDL5crG5jptTDN7FSSaBqGvy\r\nCCk4Fk0LLwuQq+cGDvM56N56o7OHWcLwj5lJ3aDqcKaIsI+F4HwQUJxaQrcC\r\n/oExSIDDWBw6/xvwBg93uQ/wbGSuqy8Q64MkJwg/6FIAnj3PkmzBEN8DeVZ0\r\nyrCkLX+8AiBFeVoSV+ydciPSxvKjcXDwn2TcoCaJXjPy4cxvOYeBaLEiiS9l\r\n+IheVLe+DTW6+7F3gLA2gH7fWSw87HKlsr0=\r\n=VHKy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"index.d.ts","gitHead":"d64dfe8603d6e11b0e8b12357e077f2c7b64b4a6","scripts":{"test":"standard && tap --no-coverage test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js"},"_npmUser":{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},"repository":{"url":"git+https://github.com/fastify/middleman.git","type":"git"},"_npmVersion":"8.1.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"16.13.0","dependencies":{"reusify":"^1.0.4","fastify-plugin":"^3.0.0","path-to-regexp":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.20.0","cors":"^2.8.5","helmet":"^5.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","pre-commit":"^1.2.2","simple-get":"^4.0.0","typescript":"4.7.3","@types/node":"^17.0.0","serve-static":"^1.14.1","@types/connect":"^3.4.33"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.0.0_1654489170083_0.2644777212283096","host":"s3://npm-registry-packages"}},"8.1.0":{"name":"@fastify/middie","version":"8.1.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.1.0","maintainers":[{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"davidmarkclements","email":"david.mark.clements@gmail.com"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middleman#readme","bugs":{"url":"https://github.com/fastify/middleman/issues"},"dist":{"shasum":"b1191b7527401e4a646695060a3d219f0d50d25a","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.1.0.tgz","fileCount":17,"integrity":"sha512-VvUCLfKx2j6KSnh8puT8QW7d5YNzi2fD/4HcFvRQ3a7sHlCo+qtfX2fqzFvNqnMVbNft7GX1JL5if/riUiXsyg==","signatures":[{"sig":"MEUCIGbKUePBOQyHrXe7GluWvD/CrMJ3imKf2J8lCUPwXvDKAiEA5Wn+DOcosNVVmQU3MAuGctkB++mW0SFHeqmeCXkBmnA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjTpCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA7Q/8C3/wDC6w1rgGtrKxlqIU9558R0DVYyyBDLBVkYnmLpP4uYMO\r\nwjP5LWiZO0KI+8hZBfOr8yroppDDQo2lon91NOVBeWPNd/zFJiOP/0YfxSKa\r\nEAs4u1eQAlKdXaZ8/wMEN/QoL22/y8QZc1uC2zfSKdlXt/+/iZ7Xk6R07oox\r\nDFpbxhMbhmAlk8dcyIRpxP+ADjoinhPHuHQysuj/xYErhqdp8W2uWhs6OXP5\r\nJUf7Amtsbp3cooqRHUACPgR7VwBE/7AXunvAilZmwVjP7Hf1G1XSO6RQ5ElL\r\n8EwpzSgBG6QzMKKc+7o6gcb3MwMeQUOnC09r0DVdQdRahG12kjMHL34tOo00\r\nvlObjnXGKsnAYc3noml3AM94jzvpgtTosWMXPFljebVWKOSgOTb86W/cm/Mq\r\n4SZGqdwAVK4enO8cUKFtPNwkr+fKPVmvE8pmE21esCTyawbPBUq5CF5nknN4\r\nsrpFIrwdsThuYebtSjy4Ew7X7Ng/V0bAdc0FS+HZXseTNfC2h1EkjoOvacB5\r\npFd5IT8W/X0QcjYuPZ1q9WZ3pvcbEGoFl2rJXB4XKyy3QCpZXU2GsV97/Yh0\r\nagOW3cnwOnacArjtVurRUw0Obfv5i3pPB/BjKbVV5b0XDnNuTwQRMmcSa880\r\nxFA0jHfoelzwSSPwojLqujrX5YeQpGfK/lQ=\r\n=BnyJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","gitHead":"1ce8b099960468d8d82e9dcd45cca8145b73f0f9","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middleman.git","type":"git"},"_npmVersion":"9.1.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"16.17.0","dependencies":{"reusify":"^1.0.4","fastify-plugin":"^4.0.0","path-to-regexp":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.25.0","cors":"^2.8.5","helmet":"^6.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","simple-get":"^4.0.0","@types/node":"^18.0.1","serve-static":"^1.14.1","@types/connect":"^3.4.33","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.1.0_1670199874100_0.8191200005792123","host":"s3://npm-registry-packages"}},"8.2.0":{"name":"@fastify/middie","version":"8.2.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.2.0","maintainers":[{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middleman#readme","bugs":{"url":"https://github.com/fastify/middleman/issues"},"dist":{"shasum":"963ed00456767cd0ddd99a9f7ff5bba35e54bc1f","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.2.0.tgz","fileCount":17,"integrity":"sha512-E+FVK9GfAe3w64HvI2JuMHbJwUj2r+JRjOlCo5enANNW3EJD5SQZKvhGl3KO1DnnPLoOPO9vNWyl/ivu8n652g==","signatures":[{"sig":"MEUCIQCQBVFfpBN/+9FyuOnHl7K6gwie31ZCjpQnTq3uhzSR5wIgFpkmHzFTT2BIdjik+jH2ph2KN4vv5N9ErfgN3jcbwTA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUm2sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnahAAnsl5zEmsk6MiZ33caDk1N7d4dHgHtxv9vtVD66LU0fuNwttQ\r\nKIQuPrTZTYZnM4lyPwki/2JHPE1u48ViNEwA3LlB3PFDWCUaaCK2DWCrEo59\r\nrPl6EDVJN0GyVHXNftBPdldt8m/1pzX3R6Hfie5DCI6ub7MBCAAaeT0uW0io\r\n5Z7dcCTk2je7BU6bfvYozTWUxVHqxQ9nvLI9knEzql/JloSBUoSvdoMGx0X+\r\ncf4NxOQAQGupnDYFolxuD+5hw3vjl/OFEOgab0tEuchP6ODg3CdJKfi80T7j\r\nNtHJNDXS0twij/kd7J1yUw28R7+xBJaNcnpvAYRwWCdVemssZ+Ha1ugZ58nH\r\nqsFsoU19LxDR/iQXSrkKpTFloosEYOB8kMC/08rabMZxHmkF6VELRNCcgjOJ\r\nMN6WDDCVX9rSMGIRNeZmH1TwwTHtHTCUJq53qPaPX9hKfGApB4apOzWqjypE\r\nc1Ay3FuoIOxUCSBlvnQa6bAnmmrr7isI06U9Rn3z1nQkvIxN3tZ2YZNBVbsa\r\nQ259rDtfwaUnBGwKXzfEu0t68DJg/nexs25XZuNn2dyKIjhKPdoAV90P/fX9\r\nWhAh0+0PLg/62GtIA2Nb9TcrxIkPLn5St7EivYb02C3EtLOvt8ugDN/KAxn/\r\nUky266/d1cBoejx89fsTvEhEDPDggHQq9L8=\r\n=IAV5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","gitHead":"b362947add07420412797d04f2607666165b5f5c","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middleman.git","type":"git"},"_npmVersion":"9.5.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"18.15.0","dependencies":{"reusify":"^1.0.4","fastify-plugin":"^4.0.0","path-to-regexp":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.28.0","cors":"^2.8.5","helmet":"^6.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","simple-get":"^4.0.0","@types/node":"^18.0.1","serve-static":"^1.14.1","@types/connect":"^3.4.33","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.2.0_1683123628444_0.8103916741919275","host":"s3://npm-registry-packages"}},"8.3.0":{"name":"@fastify/middie","version":"8.3.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.3.0","maintainers":[{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"1325e9e4373c98d69366d1e38211337dee1b9ccd","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.3.0.tgz","fileCount":18,"integrity":"sha512-h+zBxCzMlkEkh4fM7pZaSGzqS7P9M0Z6rXnWPdUEPfe7x1BCj++wEk/pQ5jpyYY4pF8AknFqb77n7uwh8HdxEA==","signatures":[{"sig":"MEYCIQCN/Yb8+xryF8TDwBMHizDa5+sDN3C/l0xoilxI1oRkUwIhAJBaFK6toz5tAOo5kiwS/Wcy4ePVGmkT9w125hWjmc6c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66299},"main":"index.js","types":"types/index.d.ts","gitHead":"87ef6148aaff5f12ad3969c3be8081b1e71f9f38","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"9.5.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"18.15.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^3.2.0","fastify-plugin":"^4.0.0","path-to-regexp":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.28.0","cors":"^2.8.5","helmet":"^7.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","simple-get":"^4.0.0","@types/node":"^20.1.0","serve-static":"^1.14.1","@types/connect":"^3.4.33","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.3.0_1684073881214_0.6636854914236316","host":"s3://npm-registry-packages"}},"8.3.1":{"name":"@fastify/middie","version":"8.3.1","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.3.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@outlook.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"2b85a0b118797235de15f10b7abc9a8f7656bdd0","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.3.1.tgz","fileCount":19,"integrity":"sha512-qrQ8U3iCdjNum3+omnIvAyz21ifFx+Pp5jYW7PJJ7b9ueKTCPXsH6vEvaZQrjEZvOpTnWte+CswfBODWD0NqYQ==","signatures":[{"sig":"MEQCIB/OmVRSrXgRWf6mrQH1cDSJFEIh/w1vgH3rp40o0xtWAiAjWFwDgM6YXN4jyVrE1WNXiCvzEO/XRHQV/BMn3S3htg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67298},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"5fb0eb920a06a458bb9e3b7291121466b03de20c","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"gurgunday","email":"hey@gurgun.day"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.2.4","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"20.11.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^3.2.0","fastify-plugin":"^4.0.0","path-to-regexp":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","simple-get":"^4.0.0","@types/node":"^20.1.0","serve-static":"^1.14.1","@types/connect":"^3.4.33","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.3.1_1714601355058_0.3748031428123786","host":"s3://npm-registry-packages"}},"9.0.0-pre.fv5.1":{"name":"@fastify/middie","version":"9.0.0-pre.fv5.1","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.0.0-pre.fv5.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"322a354da8bd6d5f667971d016dc6b3c3f5d1c45","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.0.0-pre.fv5.1.tgz","fileCount":19,"integrity":"sha512-yNn9NZeoLgjlU0Ef2xfQisBXrOfqxFUdiKOHSZ1boBzeKuJJduVQdNu8qb+1m2+XsQKnpSXDA4lGImMdtXr1Qw==","signatures":[{"sig":"MEUCIQChfYOyEYYSLFF605j9l7pt911GRuPJPkPYUplBh9iAHAIgXPS53EKYPz3gCvzF2m7d4zrv//IITY5rBmdX4VU27KI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67321},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"bdb574da8594e95aeacf41f8fda4c63bcf9c88e4","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"jsumners","email":"james.sumners@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.7.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"20.14.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^3.4.1","fastify-plugin":"^4.5.1","path-to-regexp":"^6.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^18.7.2","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.1.0","fastify":"^4.26.2","standard":"^17.1.0","simple-get":"^4.0.1","@types/node":"^20.12.7","serve-static":"^1.15.0","@types/connect":"^3.4.38","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.0.0-pre.fv5.1_1718747132784_0.3904680117207977","host":"s3://npm-registry-packages"}},"9.0.0-pre.fv5.2":{"name":"@fastify/middie","version":"9.0.0-pre.fv5.2","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.0.0-pre.fv5.2","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"1e36b4540c4dcb579538c4fff6687a13fc4b2c06","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.0.0-pre.fv5.2.tgz","fileCount":19,"integrity":"sha512-N663yhu4VPJLjy6q/96h2Ggcobc5OUUG3oQXis/CCO7cYZRyZGsg4YfPybHaPUtav7CA2axS4Mjf0mzbG+6jOw==","signatures":[{"sig":"MEUCIA5YTh/yuHBlWuZJhLd7hHj8AxpXzMuumfab9ULOtaW/AiEAoS7dgwAw4dNYFPBMfHyGAlIGOtVERqjvHpvFZ2zPsuA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67337},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"c4577102b23f7eb550f981bca469a3897f557cca","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.2.4","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"22.3.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0-pre.fv5.1","path-to-regexp":"^6.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^18.7.2","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.1.0","fastify":"^5.0.0-alpha.3","standard":"^17.1.0","simple-get":"^4.0.1","@types/node":"^22.0.0","serve-static":"^1.15.0","@types/connect":"^3.4.38","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.0.0-pre.fv5.2_1722925412321_0.00534648128699966","host":"s3://npm-registry-packages"}},"9.0.0":{"name":"@fastify/middie","version":"9.0.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.0.0","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"ed85c2da99b83b94af93a55afcde2ce9a586a6f8","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.0.0.tgz","fileCount":19,"integrity":"sha512-uHHhs6Uw/fV6zcxDPlcYc7Qe/9NNZcnM3Vkpx5FSHlr82VMZG7CyAKptH0/D5yzLl1UOQ6h34ST6xTQbG3Lyng==","signatures":[{"sig":"MEUCIALD51YK0FzqoyudXQzeom0dA2xW3z40jbUT1rq2zMTRAiEA2iCJHEwH0jcFKsmC/XsAAvHsOTeTw1HZWX+ERmG8x1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67317},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"c4577102b23f7eb550f981bca469a3897f557cca","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.8.1","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"20.16.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^6.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^18.7.2","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.1.0","fastify":"^5.0.0-alpha.4","standard":"^17.1.0","simple-get":"^4.0.1","@types/node":"^22.0.0","serve-static":"^1.15.0","@types/connect":"^3.4.38","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.0.0_1725435812148_0.8220600856555029","host":"s3://npm-registry-packages"}},"8.3.2":{"name":"@fastify/middie","version":"8.3.2","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.3.2","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"f1626b4a0e85496541a0af94e9866bd2f9450551","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.3.2.tgz","fileCount":19,"integrity":"sha512-Be9ofUlL5KKPp6ZH2piSJnMFIg+cMZaaaBrOFSRobjiY4iU0cejGfCNDV6cCsHVPr8vilhqMaxTT2x4dMjPNgw==","signatures":[{"sig":"MEYCIQD2QNiXFlwiuVmLcGJ9KvvVlUk3ZF9fj88t82Kp1Z1eOAIhAKHQ9QRVOIqJpQCWxh+L7xvgrLfi471vU+7uhHjzxGaN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67314},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"6dcf910ef8da963809ca496762a5b665fa48a517","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"deprecated":"This version includes too much breaking change due to security patch. Please upgrade to version 8.3.3 which includes the security patch with minimal breakages.","pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.2.4","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"22.6.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^3.2.0","fastify-plugin":"^4.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","simple-get":"^4.0.0","@types/node":"^20.1.0","serve-static":"^1.14.1","@types/connect":"^3.4.33","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.3.2_1726040630726_0.7725589985177979","host":"s3://npm-registry-packages"}},"9.0.1":{"name":"@fastify/middie","version":"9.0.1","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.0.1","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"d1cf64350bbe5eef7a1e02d8310de6ecff228f0e","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.0.1.tgz","fileCount":19,"integrity":"sha512-NCOu4sTSuON0n3iFPhvDbpQoi9RPHHF1GEbKF3vFlYNIgKUu/OY2jzPIdtVZmx9itqbg1h2FrvsP495uN4xxpg==","signatures":[{"sig":"MEQCIBc4u8VLAqtZFxLMorfTBLd+UfpyP08xAtA6JyhYAgZrAiBJyu6uVOt1IHuVl9sS3b50321FenLghtTYlSRus2aiJQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67333},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"790bd3e8782366f612c52b82f244e94d37e0bc0d","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.2.4","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"22.6.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tap":"^18.7.2","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.1.0","fastify":"^5.0.0-alpha.4","standard":"^17.1.0","simple-get":"^4.0.1","@types/node":"^22.0.0","serve-static":"^1.15.0","@types/connect":"^3.4.38","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.0.1_1726040858852_0.12041679219284696","host":"s3://npm-registry-packages"}},"8.3.3":{"name":"@fastify/middie","version":"8.3.3","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@8.3.3","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"1c1d2b21c41c56badb5c9aac6afe1e25d187b6a7","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-8.3.3.tgz","fileCount":19,"integrity":"sha512-+WHavMQr9CNTZoy2cjoDxoWp76kZ3JKjAtZj5sXNlxX5XBzHig0TeCPfPc+1+NQmliXtndT3PFwAjrQHE/6wnQ==","signatures":[{"sig":"MEUCIAU41xXnbKLRMSIKO1wTmOpRJAAdsP8lAbni7Of+0QVDAiEA0IXkziLcGad7Bd+nxgxnp3ewKuUDlKAhrOiPzanWYkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67297},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"a601a122b9a2b982b5d3f961693e375c26b9ff11","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.8.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"22.6.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^3.2.0","fastify-plugin":"^4.0.0","path-to-regexp":"^6.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.0.0","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.0.0","fastify":"^4.0.0-rc.2","standard":"^17.0.0","simple-get":"^4.0.0","@types/node":"^20.1.0","serve-static":"^1.14.1","@types/connect":"^3.4.33","@fastify/pre-commit":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/middie_8.3.3_1726200218903_0.7238360906886068","host":"s3://npm-registry-packages"}},"9.0.2":{"name":"@fastify/middie","version":"9.0.2","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.0.2","maintainers":[{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"is2ei","email":"issei.horie@is2ei.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"7b3e5f0ab604fef05c57110fa746cda36c98f89f","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.0.2.tgz","fileCount":19,"integrity":"sha512-MHvAhUBxrefkpx4A8HtjOjAdlaCtY8j19PC6ORfm7KPMb/dklDeqBqR4xPRTtcBRPZUYq2jAJJWQCB4eO+dtKw==","signatures":[{"sig":"MEUCIQCN7MJOG74NoHqrI/oRPrfkB0ZDWoMlye1e19OgF+9nFAIgdUs9zxAYJGzy5K6cu3TBjgDh74wA8B9w7nWythg7Q9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67325},"main":"index.js","type":"commonjs","types":"types/index.d.ts","gitHead":"be71433a4f2286acdfa9f2fc9fe39ed09d546e1a","scripts":{"lint":"standard","test":"standard && tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"standard --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"eomm","email":"behemoth89@gmail.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.1.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"20.8.0","dependencies":{"reusify":"^1.0.4","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^18.7.2","tsd":"^0.31.0","cors":"^2.8.5","helmet":"^7.1.0","fastify":"^5.0.0","standard":"^17.1.0","simple-get":"^4.0.1","@types/node":"^22.0.0","serve-static":"^1.15.0","@types/connect":"^3.4.38","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.0.2_1726908039247_0.5398597124747755","host":"s3://npm-registry-packages"}},"9.0.3":{"name":"@fastify/middie","version":"9.0.3","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.0.3","maintainers":[{"name":"starptech","email":"deusdustin@gmail.com"},{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"coopflow","email":"community@coopflow.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"allevo","email":"tomallevi@gmail.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"rafaelgss","email":"rafael.nunu@hotmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"7d8edfd90dca9ff8e82dc721a460ff3d8646f230","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.0.3.tgz","fileCount":20,"integrity":"sha512-7OYovKXp9UKYeVMcjcFLMcSpoMkmcZmfnG+eAvtdiatN35W7c+r9y1dRfpA+pfFVNuHGGqI3W+vDTmjvcfLcMA==","signatures":[{"sig":"MEUCICTPUbjHZKWuLgcjyk3GiSHGq3peYbAMRYWFRA9EFE3VAiEA7h9pd/b6KNvFjzpKzomVMKpR/VhbyLggV+bHsKE55YM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67669},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"0fd04d1f9cf1d44b3f0ab1836cb0a1876d3cb73d","scripts":{"lint":"eslint","test":"tap test/*.test.js && tsd","coverage":"tap --cov --coverage-report=html test.js","lint:fix":"eslint --fix","test:unit":"tap","test:typescript":"tsd"},"_npmUser":{"name":"fdawgs","email":"frazer.dev@icloud.com"},"pre-commit":["lint","test"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"10.8.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"20.18.1","dependencies":{"reusify":"^1.0.4","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^18.7.2","tsd":"^0.31.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","simple-get":"^4.0.1","@types/node":"^22.0.0","neostandard":"^0.12.0","serve-static":"^1.15.0","@types/connect":"^3.4.38","@fastify/pre-commit":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.0.3_1736596304328_0.5809666455484916","host":"s3://npm-registry-packages-npm-production"}},"9.1.0":{"name":"@fastify/middie","version":"9.1.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.1.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"jean-michelet","email":"jean.antoine.michelet@gmail.com"},{"name":"ilteoood","email":"matteopietro.dazzi@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"3c3f8631156ce0be7c514537cea777af3168d402","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.1.0.tgz","fileCount":19,"integrity":"sha512-cObruXSFB5CCqn2m9sF5ktf6pNQX+QQth2N39FGXXV+8M4O+dWzkvqjqzwpIWvwvIffP9+O7KaLN+5xVgFFdWw==","signatures":[{"sig":"MEUCIQDNTa/nG7wOeQiL5lyR1HEWkBtz9v9b5pd1Zbo/vOiggwIgfXzJ9+ak88iNwK0e6XETHHi8aPglDFamUEmzdPS0eDM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71901},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"8de54e35035cefa5ca13fd9f06c7b38185038a0e","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.6.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.12.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.4.0","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","tsd":"^0.33.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","@types/node":"^25.0.3","neostandard":"^0.12.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.1.0_1767447546118_0.1972754115195352","host":"s3://npm-registry-packages-npm-production"}},"9.2.0":{"name":"@fastify/middie","version":"9.2.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.2.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"jean-michelet","email":"jean.antoine.michelet@gmail.com"},{"name":"ilteoood","email":"matteopietro.dazzi@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"40498ea55ddf85afbe976c4be1fc2fe4ebb2d991","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.2.0.tgz","fileCount":21,"integrity":"sha512-ZPH8sM83f+bBmIHNT0KixdVQ/02Ijgs3TSpDIC5I7XMQLJ4eVTGRRTigT1Bchfgtea+yZ/O2xDdGhkDBRouUuQ==","signatures":[{"sig":"MEQCIHREg25/ulin9m3pMbxW0m5XEU8UP2hObzx3dmNCwJ4bAiAcpNvraCLkzkJ6qoL/fj2uijzxMBcC5orOjOXDOa/y0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83370},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"f9b3e79c2c045c9af8e5860d96629943ceeb61b0","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.6.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.13.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","tsd":"^0.33.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","@types/node":"^25.0.3","neostandard":"^0.12.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.2.0_1772187618684_0.7282206524945407","host":"s3://npm-registry-packages-npm-production"}},"9.3.0":{"name":"@fastify/middie","version":"9.3.0","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.3.0","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"jean-michelet","email":"jean.antoine.michelet@gmail.com"},{"name":"ilteoood","email":"matteopietro.dazzi@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"b376d077d553d0e985e32774f5342fbd24f5c603","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.3.0.tgz","fileCount":21,"integrity":"sha512-S0+4UjIvY5zLti1XjFefSy0HFavOxNQ0ywdRlwn53Vn1RE5zQhJMuiiwkNku3MOpRRDn2uyG601PUwTzuVOP5Q==","signatures":[{"sig":"MEMCHwyKKNzKGnjES0Ys/vfAn2Q5WXZ3tETQPOJGfnYxkNMCIFhKTk/VK41wTR6UPfGuSUqz1/YVSLFg5vt1s0TtaBNb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85331},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"f57b37f05b193e504574449a74335aef8f319237","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.6.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.13.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","tsd":"^0.33.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","@types/node":"^25.0.3","neostandard":"^0.12.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.3.0_1772705505061_0.17660946962033086","host":"s3://npm-registry-packages-npm-production"}},"9.3.1":{"name":"@fastify/middie","version":"9.3.1","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.3.1","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"jean-michelet","email":"jean.antoine.michelet@gmail.com"},{"name":"ilteoood","email":"matteopietro.dazzi@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"ca5d8829f32c0f35bffaf387147231fe35f0f2f8","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.3.1.tgz","fileCount":21,"integrity":"sha512-5uvKKF5zkocgsSiTyBU7AW2LmQ1Fwn4MNJ/8bORAuFwsQ0hqHjtpYaPqO79BkP4aqH5T7P3F2gJ3b3kerAIk7A==","signatures":[{"sig":"MEUCIHBGWB9UwI2KwXn8zQfytpAWhuYDBnzMunQwQFBFX+cyAiEArmPIuZgziFxN9n/CvaYd5VU/2D7R33HfrYh21GKFLFs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86784},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"fb129379ce05dc0f5400f43c22f178a8b9b09214","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tsd"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.6.2","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.13.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","tsd":"^0.33.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","@types/node":"^25.0.3","neostandard":"^0.12.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.3.1_1772716694258_0.6186100159325489","host":"s3://npm-registry-packages-npm-production"}},"9.3.2":{"name":"@fastify/middie","version":"9.3.2","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.3.2","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"tony133","email":"a.tripodi133@gmail.com"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"jean-michelet","email":"jean.antoine.michelet@gmail.com"},{"name":"ilteoood","email":"matteopietro.dazzi@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"http://delved.org","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"c7f1d067ddc04654596a401351e45692d3b33987","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.3.2.tgz","fileCount":23,"integrity":"sha512-5C3xMHJxpfqoHd+xZSHPBI71fpzkoF6wMsYtgzXRyQUNvsIAxJm2yY4r2fUjF0h3rS9MXlo/aXLaXv3s4TL+JQ==","signatures":[{"sig":"MEUCIEpfuoYK4tT7wzB+wWbcqspp7rxmMfxFCqpYtIPGj3B6AiEAnC+c2q8gIL5GqYLpW5wjRBg0kNpdwfd8P2VEQiylJ3M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99899},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"792d2f46ae68516d3122c9a4468a5748a34efb47","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tsd"},"_npmUser":{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.9.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.14.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^5.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","tsd":"^0.33.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","@types/node":"^25.0.3","neostandard":"^0.13.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.3.2_1776310943295_0.7764439417022062","host":"s3://npm-registry-packages-npm-production"}},"9.3.3":{"name":"@fastify/middie","version":"9.3.3","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.3.3","maintainers":[{"name":"simoneb","email":"simone.busoli@gmail.com"},{"name":"delvedor","email":"tommydelved@gmail.com"},{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"jsumners","email":"james.sumners@gmail.com"},{"name":"zekth","email":"vince.legoff@gmail.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"fox1t","email":"maksim@sinik.it"},{"name":"airhorns","email":"harry@harry.me"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"galvez","email":"jonasgalvez@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"tony133","email":"a.tripodi133@gmail.com"},{"name":"metcoder95","email":"me@metcoder.dev"},{"name":"jean-michelet","email":"jean.antoine.michelet@gmail.com"},{"name":"ilteoood","email":"matteopietro.dazzi@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"https://delvedor.dev","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"253e6281aa3112da4cd20ee91302809bdde3ec83","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.3.3.tgz","fileCount":24,"integrity":"sha512-N2VRS+sfw/lxA/uLD6TvBpvfPfOV/RdYzM7ctAB58Cn2TAYxbRd8+JLFhNhMJoXlSbgChXYUnkn3hPU/JdA4Pg==","signatures":[{"sig":"MEUCIQDXfYqEVesn6y5TMb0UbsNdqTrKuuMp0YiYudP9yBqXEAIgf3hVp/IN8jMFP4uOSIJb5DlFuQPY7UQV0P6N6V+xUs0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106473},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"e038188b33b9436e1be9f9d1c1920416ec6c18f1","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tstyche"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.12.1","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.15.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^6.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","tstyche":"^7.0.0","@types/node":"^25.0.3","neostandard":"^0.13.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.3.3_1782829399849_0.2767299448619809","host":"s3://npm-registry-packages-npm-production"}},"9.3.4":{"name":"@fastify/middie","version":"9.3.4","keywords":["fastify","middleware","webframework","performances"],"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","_id":"@fastify/middie@9.3.4","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"kibertoad","email":"iselwin@gmail.com"},{"name":"climba03003","email":"kaka@kakawebsitedemo.com"},{"name":"gurgunday","email":"hey@gurgun.day"},{"name":"tony133","email":"a.tripodi133@gmail.com"},{"name":"fdawgs","email":"frazer.dev@icloud.com"}],"contributors":[{"url":"https://delvedor.dev","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"homepage":"https://github.com/fastify/middie#readme","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"01ac1074b8c30d2bdc1fd4381a80e8ac70ada9c7","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.3.4.tgz","fileCount":25,"integrity":"sha512-dd8phTnVWzx3iKPBKSvtRUT8+Igvy/MP+P5HcY2tjejEyeVbyjkD4HgzKessUObue5RRM5J6PZdxtAqgbn84yw==","signatures":[{"sig":"MEQCIDsdhY64s8sx4/Ojl2sTa4PU+Zm4HjrIL/xubnE4oeRPAiARMzl/1vJe97wSEHAYMt+t9G/SDYjger9Mu/bGY99e1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDpig/BzzJAez9MZwtkxcJr9kFMKn0v3zimmsPNJGAS6wIhAJ0FKdtNS3SyEc+fFZiZMd2MzhDmBvdWvcOjXad44Tr8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111748},"main":"index.js","type":"commonjs","types":"types/index.d.ts","funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"310c7ef480bf1db2508316db7a42fdf274e6802e","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tstyche"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.16.0","description":"Middleware engine for Fastify","directories":{},"_nodeVersion":"24.18.0","dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^6.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","tstyche":"^7.0.0","@types/node":"^26.0.0","neostandard":"^0.13.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"tmp":"tmp/middie_9.3.4_1788509444144_0.49988581768528606","host":"s3://npm-registry-packages-npm-production"}},"9.3.5":{"_id":"@fastify/middie@9.3.5","bugs":{"url":"https://github.com/fastify/middie/issues"},"dist":{"shasum":"9f9b9348c8663efe8447ec679805111a183095d1","tarball":"https://registry.npmjs.org/@fastify/middie/-/middie-9.3.5.tgz","fileCount":26,"integrity":"sha512-oY1Yp/UfwS/qcmSV4PgOEqlTxHytRWSjl5MB07hDhlKfecAwJ4TQ7zBxdX2AWAuq+xbfPXM7EgH7EwOIQ2fSPA==","signatures":[{"sig":"MEQCIAbX/Tvx0YVNGEdxHBMqwKRzWnrtco6/d+es+W4j48DFAiAH+2beKkbl5MhCXPRsuh3Mxr+x5bIyJVdJ0z6/19WA+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAvANsLbOiOYsQSRDQHtzr6zHFneU6IIDnhRthFZKQAvAiEAn4jQrnLhUI3bGextEF0NaODLqKalGYtB3Hejv8esNts="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@fastify%2fmiddie@9.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112320},"main":"index.js","name":"@fastify/middie","type":"commonjs","types":"types/index.d.ts","author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"funding":[{"url":"https://github.com/sponsors/fastify","type":"github"},{"url":"https://opencollective.com/fastify","type":"opencollective"}],"gitHead":"1e3b563e5b2911deb8dac3604abfe18a5c1e92b0","license":"MIT","scripts":{"lint":"eslint","test":"npm run test:unit && npm run test:typescript","lint:fix":"eslint --fix","test:unit":"c8 --100 node --test","test:typescript":"tstyche"},"version":"9.3.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"65767466-2f6a-45df-bc0d-77c077d092ec"}},"homepage":"https://github.com/fastify/middie#readme","keywords":["fastify","middleware","webframework","performances"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"_npmVersion":"11.19.0","description":"Middleware engine for Fastify","directories":{},"maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"tony133","email":"a.tripodi133@gmail.com"}],"_nodeVersion":"24.21.0","contributors":[{"url":"https://delvedor.dev","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"dependencies":{"reusify":"^1.0.4","find-my-way":"^9.5.0","@fastify/error":"^4.0.0","fastify-plugin":"^6.0.0","path-to-regexp":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","cors":"^2.8.5","eslint":"^9.17.0","helmet":"^8.0.0","fastify":"^5.0.0","tstyche":"^7.0.0","@types/node":"^26.0.0","neostandard":"^0.13.0","serve-static":"^2.2.0","@types/connect":"^3.4.38"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/middie_9.3.5_1791470058871_0.25782227510545885"}}},"time":{"created":"2022-06-06T04:19:30.008Z","modified":"2026-10-08T14:34:19.615Z","8.0.0":"2022-06-06T04:19:30.252Z","8.1.0":"2022-12-05T00:24:34.271Z","8.2.0":"2023-05-03T14:20:28.613Z","8.3.0":"2023-05-14T14:18:01.453Z","8.3.1":"2024-05-01T22:09:15.232Z","9.0.0-pre.fv5.1":"2024-06-18T21:45:32.938Z","9.0.0-pre.fv5.2":"2024-08-06T06:23:32.490Z","9.0.0":"2024-09-04T07:43:32.347Z","8.3.2":"2024-09-11T07:43:50.881Z","9.0.1":"2024-09-11T07:47:38.985Z","8.3.3":"2024-09-13T04:03:39.112Z","9.0.2":"2024-09-21T08:40:39.436Z","9.0.3":"2025-01-11T11:51:44.516Z","9.1.0":"2026-01-03T13:39:06.257Z","9.2.0":"2026-02-27T10:20:18.825Z","9.3.0":"2026-03-05T10:11:45.216Z","9.3.1":"2026-03-05T13:18:14.412Z","9.3.2":"2026-04-16T03:42:23.530Z","9.3.3":"2026-06-30T14:23:19.981Z","9.3.4":"2026-09-04T08:10:44.225Z","9.3.5":"2026-10-08T14:34:18.959Z"},"bugs":{"url":"https://github.com/fastify/middie/issues"},"author":{"name":"Matteo Collina","email":"hello@matteocollina.com"},"license":"MIT","homepage":"https://github.com/fastify/middie#readme","keywords":["fastify","middleware","webframework","performances"],"repository":{"url":"git+https://github.com/fastify/middie.git","type":"git"},"description":"Middleware engine for Fastify","contributors":[{"url":"https://delvedor.dev","name":"Tomas Della Vedova"},{"name":"Manuel Spigolon","email":"behemoth89@gmail.com"},{"name":"Aras Abbasi","email":"aras.abbasi@gmail.com"},{"url":"https://github.com/fdawgs","name":"Frazer Smith","email":"frazer.dev@icloud.com"}],"maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"eomm","email":"behemoth89@gmail.com"},{"name":"tony133","email":"a.tripodi133@gmail.com"}],"readme":"# @fastify/middie\n\n[![CI](https://github.com/fastify/middie/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/fastify/middie/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/@fastify/middie.svg?style=flat)](https://www.npmjs.com/package/@fastify/middie)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)\n\n*@fastify/middie* is the plugin that adds middleware support on steroids to [Fastify](https://www.npmjs.com/package/fastify).\n\nThe syntax style is the same as [express](https://www.npmjs.com/package/express)/[connect](https://www.npmjs.com/package/connect).\nDoes not support the full syntax `middleware(err, req, res, next)`, because error handling is done inside Fastify.\n\n## Install\n\n```\nnpm i @fastify/middie\n```\n\n## Usage\nRegister the plugin and start using your middleware.\n```js\nconst Fastify = require('fastify')\n\nasync function build () {\n  const fastify = Fastify()\n  await fastify.register(require('@fastify/middie'), {\n    hook: 'onRequest' // default\n  })\n  // do you know we also have cors support?\n  // https://github.com/fastify/fastify-cors\n  fastify.use(require('cors')())\n  return fastify\n}\n\nbuild()\n  .then(fastify => fastify.listen({ port: 3000 }))\n  .catch(console.log)\n```\n\n### Encapsulation support\n\nThe encapsulation works as usual with Fastify, you can register the plugin in a subsystem and your code will work only inside there, or you can declare the middie plugin top level and register a middleware in a nested plugin, and the middleware will be executed only for the nested routes of the specific plugin.\n\n*Register the plugin in its own subsystem:*\n```js\nconst fastify = require('fastify')()\n\nfastify.register(subsystem)\n\nasync function subsystem (fastify, opts) {\n  await fastify.register(require('@fastify/middie'))\n  fastify.use(require('cors')())\n}\n```\n\n*Register a middleware in a specific plugin:*\n```js\nconst fastify = require('fastify')()\n\nfastify\n  .register(require('@fastify/middie'))\n  .register(subsystem)\n\nasync function subsystem (fastify, opts) {\n  fastify.use(require('cors')())\n}\n```\n\n### Hooks and middleware\n\n__Every registered middleware will be run during the `onRequest` hook phase__, so the registration order is important.\nTake a look at the [Lifecycle](https://fastify.dev/docs/latest/Reference/Lifecycle/) documentation page to understand better how every request is executed.\n\n```js\nconst fastify = require('fastify')()\n\nfastify\n  .register(require('@fastify/middie'))\n  .register(subsystem)\n\nasync function subsystem (fastify, opts) {\n  fastify.addHook('onRequest', async (req, reply) => {\n    console.log('first')\n  })\n\n  fastify.use((req, res, next) => {\n    console.log('second')\n    next()\n  })\n\n  fastify.addHook('onRequest', async (req, reply) => {\n    console.log('third')\n  })\n}\n```\n\nIt is possible to change the Fastify hook that the middleware will be attached to. Supported lifecycle hooks are:\n - `onRequest`\n - `preParsing`\n - `preValidation`\n - `preHandler`\n - `preSerialization`\n - `onSend`\n - `onResponse`\n - `onError`\n - `onTimeout`\n\nTo change the hook, pass a `hook` option like so:\n\n*Note you can access `req.body` from the `preParsing`, `onError`, `preSerialization`, and `onSend` lifecycle steps. Take a look at the [Lifecycle](https://fastify.dev/docs/latest/Reference/Lifecycle/) documentation page to see the order of the steps.*\n\n```js\nconst fastify = require('fastify')()\n\nfastify\n  .register(require('@fastify/middie'), { hook: 'preHandler' })\n  .register(subsystem)\n\nasync function subsystem (fastify, opts) {\n  fastify.addHook('onRequest', async (req, reply) => {\n    console.log('first')\n  })\n\n  fastify.use((req, res, next) => {\n    console.log('third')\n    next()\n  })\n\n  fastify.addHook('onRequest', async (req, reply) => {\n    console.log('second')\n  })\n\n  fastify.addHook('preHandler', async (req, reply) => {\n    console.log('fourth')\n  })\n}\n```\n\n### Restrict middleware execution to a certain path(s)\n\nIf you need to run a middleware only under certain path(s), just pass the path as the first parameter to use and you are done!\n\n```js\nconst fastify = require('fastify')()\nconst path = require('node:path')\nconst serveStatic = require('serve-static')\n\nfastify\n  .register(require('@fastify/middie'))\n  .register(subsystem)\n\nasync function subsystem (fastify, opts) {\n  // Single path\n  fastify.use('/css', serveStatic(path.join(__dirname, '/assets')))\n\n  // Wildcard path\n  fastify.use('/css/*', serveStatic(path.join(__dirname, '/assets')))\n\n  // Multiple paths\n  fastify.use(['/css', '/js'], serveStatic(path.join(__dirname, '/assets')))\n}\n```\n\n#### :warning: potential ReDoS attacks\n\nMiddie uses [`path-to-regexp`](https://www.npmjs.com/package/path-to-regexp) to convert paths to regular expressions.\nThis might cause potential [ReDoS](https://en.wikipedia.org/wiki/ReDoS) attacks in your applications if\ncertain patterns are used. Use it with care.\n\n# Middie Engine\n\nYou can also use the engine itself without the Fastify plugin system.\n\n## Usage\n```js\nconst Middie = require('@fastify/middie/engine')\nconst http = require('node:http')\nconst helmet = require('helmet')\nconst cors = require('cors')\n\nconst middie = Middie(_runMiddlewares)\nmiddie.use(helmet())\nmiddie.use(cors())\n\nhttp\n  .createServer(function handler (req, res) {\n    middie.run(req, res)\n  })\n  .listen(3000)\n\nfunction _runMiddlewares (err, req, res) {\n  if (err) {\n    console.log(err)\n    res.end(err)\n    return\n  }\n\n  // => routing function\n}\n```\n<a name=\"keep-context\"></a>\n#### Keep the context\nIf you need it you can also keep the context of the calling function by calling `run` with `run(req, res, this)`, avoiding closures allocation.\n\n```js\nhttp\n  .createServer(function handler (req, res) {\n    middie.run(req, res, { context: 'object' })\n  })\n  .listen(3000)\n\nfunction _runMiddlewares (err, req, res, ctx) {\n  if (err) {\n    console.log(err)\n    res.end(err)\n    return\n  }\n  console.log(ctx)\n}\n```\n\n<a name=\"restrict-usage\"></a>\n#### Restrict middleware execution to a certain path(s)\nIf you need to run a middleware only under certain path(s), just pass the path as the first parameter to `use` and you are done!\n\n*Note that this does support routes with parameters, e.g. `/user/:id/comments`, but all the matched parameters will be discarded*\n\n```js\n// Single path\nmiddie.use('/public', staticFiles('/assets'))\n\n// Multiple middleware\nmiddie.use('/public', [cors(), staticFiles('/assets')])\n\n// Multiple paths\nmiddie.use(['/public', '/dist'], staticFiles('/assets'))\n\n// Multiple paths and multiple middleware\nmiddie.use(['/public', '/dist'], [cors(), staticFiles('/assets')])\n```\n\nTo guarantee compatibility with Express, adding a prefix uses [`path-to-regexp`](https://www.npmjs.com/package/path-to-regexp) to compute\na `RegExp`, which is then used to match every request: it is significantly slower.\n\n## TypeScript support\n\nTo use this module with TypeScript, make sure to install `@types/connect`.\n\n## Middleware alternatives\n\nFastify offers some alternatives to the most commonly used Express middleware:\n\n| Express Middleware | Fastify Plugin |\n| ------------- |---------------|\n| [`helmet`](https://github.com/helmetjs/helmet) | [`fastify-helmet`](https://github.com/fastify/fastify-helmet) |\n| [`cors`](https://github.com/expressjs/cors) | [`fastify-cors`](https://github.com/fastify/fastify-cors) |\n| [`serve-static`](https://github.com/expressjs/serve-static) | [`fastify-static`](https://github.com/fastify/fastify-static) |\n\n## Acknowledgments\n\nThis project is kindly sponsored by:\n- [nearForm](https://nearform.com)\n\nPast sponsors:\n- LetzDoIt\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","readmeFilename":"README.md"}