{"_id":"@augu/fastify-nitro","_rev":"4-03f35995cd482b85c657bac847be11b7","name":"@augu/fastify-nitro","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@augu/fastify-nitro","description":"🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify","version":"1.0.0","main":"./build/index.js","types":"./build/index.d.ts","repository":{"type":"git","url":"git+https://github.com/auguwu/nitro-preset.git"},"bugs":{"url":"https://github.com/auguwu/nitro-preset/issues"},"packageManager":"yarn@3.3.1","exports":{".":{"import":"./build/index.mjs","default":"./build/index.js","types":"./build/index.d.ts"}},"scripts":{"build":"yarn fmt && yarn lint && rimraf build && tsup","lint":"tsx --tsconfig ./scripts/tsconfig.json scripts/eslint.ts","fmt":"prettier --write **/*.{ts,js,md,json,yml,yaml} --config ./.prettierrc.json"},"dependencies":{"@noelware/utils":"2.2.1","nitropack":"2.1.0"},"devDependencies":{"@actions/core":"1.10.0","@augu/eslint-config":"3.0.0","@augu/tsconfig":"1.1.1","@types/eslint":"8.4.10","@types/node":"18.11.18","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.49.0","@typescript-eslint/parser":"5.49.0","eslint":"8.32.0","eslint-config-prettier":"8.6.0","log-symbols":"5.1.0","prettier":"2.8.3","rimraf":"4.1.2","signale":"1.4.0","tsup":"6.5.0","tsx":"3.12.2","typescript":"4.9.4"},"peerDependencies":{"fastify":"4.x"},"gitHead":"1327cc919c82e3f6eab08e54e25fd924fbe4b8f5","homepage":"https://github.com/auguwu/nitro-preset#readme","_id":"@augu/fastify-nitro@1.0.0","_nodeVersion":"19.5.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-Nt0ZCRAplJNRVRO7WeJnGvEPc4iM0/8Hj6bGLNkyrz9Sg86h2C88alsS+nfOdJsW2NrfUBqfW5waNFxm/Fn6Jw==","shasum":"ece90851879fa3155ebb986229e41998d1ee9a87","tarball":"https://registry.npmjs.org/@augu/fastify-nitro/-/fastify-nitro-1.0.0.tgz","fileCount":3,"unpackedSize":4775,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAz+8vz66eb5ddpU1mNhCecVo5bQjN8K30yeBZHROlpTAiEA53lWQUbMYp1BHloHLSdvd5wJM/vQXoWSe/FtSjTX4/s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1JLJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq8LQ//XYuj4lYWwsasjWYKbmOiaNic63ttOis1eyykcK6kbFrIkX4F\r\nzI3vrS/9Yv45T4woqH9twhuKTRh0/9TO7Dgqeg+18oXCA71+E6oS/iVMb3b8\r\nTw2XE6NlbiRPObSjqGpAozaKJhkt9iSxyvDsyNITMQkudpg0DAMxnGDFwL9r\r\nJNei7p6MEByKXORymY8+DAKx/s4Mekz65gBhnkxbZslGhRXANvjI0JVQy8kr\r\n0e37TnlQImO/uil8ek4wZBjLEJUV9sAQ97LR1DtPYcDEp0nnq25Eq34N+cTY\r\nJfl/qiyTa3fVqZTYmTRNUJwo+BW8uwEppukGmkbPcZuhElbd4SsnptFT3n5p\r\noUoPPlGluOudWYGH40+6TGmFaHM7/qHG55WKaFyH342ip9lGv8VqitlyTj3N\r\nFDyq7TWOS9IV6VjzL9yK55CsMzHUwUSfoYwHNuU/JDQVzfPwPiGm3lqfO89n\r\nEKB5dM7l4PQnrefa1Vgp6wDg0svOhHgizblPCtwG3T084OPX2/Oc7K5GdGpw\r\n53bzPijyBslxdBvw6XhdZFpyJQ8eBQeeN4P8Tbzptl/pWvVnID84pPctd56M\r\n5vXNJ0jtaibdUDwC1TlqtvhtU5pmBpqzov9kkg399Unf2eCLfz3TTKKVk0U0\r\npCZkMjQ0V6yg5NoP8ZLyvLEj14aPwJAFmss=\r\n=to0X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"auguwu","email":"ohlookitsaugust@gmail.com"},"directories":{},"maintainers":[{"name":"auguwu","email":"ohlookitsaugust@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-nitro_1.0.0_1674875593685_0.5757495737576839"},"_hasShrinkwrap":false},"1.0.1":{"name":"@augu/fastify-nitro","description":"🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify","version":"1.0.1","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/auguwu/nitro-preset.git"},"bugs":{"url":"https://github.com/auguwu/nitro-preset/issues"},"packageManager":"yarn@3.3.1","exports":{".":{"import":"./dist/index.mjs","default":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"yarn fmt && yarn lint && rimraf build && tsup","lint":"tsx --tsconfig ./scripts/tsconfig.json scripts/eslint.ts","fmt":"prettier --write **/*.{ts,js,md,json,yml,yaml} --config ./.prettierrc.json"},"dependencies":{"@noelware/utils":"2.2.1","nitropack":"2.1.0"},"devDependencies":{"@actions/core":"1.10.0","@augu/eslint-config":"3.0.0","@augu/tsconfig":"1.1.1","@types/eslint":"8.4.10","@types/node":"18.11.18","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.49.0","@typescript-eslint/parser":"5.49.0","eslint":"8.32.0","eslint-config-prettier":"8.6.0","log-symbols":"5.1.0","prettier":"2.8.3","rimraf":"4.1.2","signale":"1.4.0","tsup":"6.5.0","tsx":"3.12.2","typescript":"4.9.4"},"peerDependencies":{"fastify":"4.x"},"gitHead":"bd08ca6d006868818deb5b2b1619e0e0102482ed","homepage":"https://github.com/auguwu/nitro-preset#readme","_id":"@augu/fastify-nitro@1.0.1","_nodeVersion":"19.5.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-U1t2CUD+YArVPRNWknHCDDPqbBWHYoZgCn5brw6ObT8af94hoFxXgES5urS4wUr1wWuhVKQeD1i3mjzap8yQ2g==","shasum":"b8d8b8dba5d0c5304f6cb838c4d1f749803433cf","tarball":"https://registry.npmjs.org/@augu/fastify-nitro/-/fastify-nitro-1.0.1.tgz","fileCount":6,"unpackedSize":8999,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH63TujWxQy8W0Ng1kgy2sK5V01/GBx0E1aolmI0lZiQIhAOae3/diFWKGdjAjWndxzdW5FNe1n7+ORaCq731BIs03"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1JRkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOYhAAm8L+Z8I9mI9x/NEi9++1NMmBHbZcLYqAEdiqH2JJdJFcDo2l\r\nlvs+zUdxqUREVoD3FUmjxvEm4twcRKjlCCHkCSJO8WOXXpkdrrAXEYYDC0wV\r\nr1wYcgLVD/N19ROKvyD02ZyVaSQM6JcFaljom21HH+lISeY9gC5rb1IIPFAg\r\nxokLHfTDkabrBWf/fBU+LNfdNxpkFxUsi2xPBNLc4DUinnFuQ5Vk501YQGka\r\nMlXA1EYEUIm9phBZdzv+UsMmZChpIV3jUZvVRjL5klCFIcUFsZ6v0nKdZ91S\r\nuqtCYHl3hwVYohlMIQt6e+qcr7loV/HCJqFiZl+sWk4yFjKhgL0GyuKRBnq/\r\nIa2ezAmJjU0ArXyywZSwysES2A8JRsbpXZb4awR60UmwqMxRSHum7TwDPpAt\r\nHiFa+4+A+Td/L8wvPDIYfF/E9NtsJNWTpBoIRIJevuIZYrpJC9+Yi9lDlOdP\r\njse0PTo0jr/vIgvNFkHlyn7YSRFwgUy+JOxQtrH/uoJHqhaY1HJTJw+HclNX\r\nmJpuehTupt3jdaSZizrVeK02DK8vi3j+g0Rsk2Catti9qSZHzT+3mOsJ9/OS\r\n06PyfbmRaAon3ghwxQfcnXjamFtDA2ZmXJz8rN466warPWb80ZrknrrN4340\r\nk3+t+UiSVhLjV3CfSg0HSuJUcgAeGCV2MPw=\r\n=vo6J\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"auguwu","email":"ohlookitsaugust@gmail.com"},"directories":{},"maintainers":[{"name":"auguwu","email":"ohlookitsaugust@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-nitro_1.0.1_1674876004470_0.5057373823376576"},"_hasShrinkwrap":false},"1.0.2":{"name":"@augu/fastify-nitro","description":"🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify","version":"1.0.2","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/auguwu/nitro-preset.git"},"bugs":{"url":"https://github.com/auguwu/nitro-preset/issues"},"packageManager":"yarn@3.3.1","exports":{".":{"import":"./dist/index.mjs","default":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"yarn fmt && yarn lint && rimraf build && tsup","lint":"tsx --tsconfig ./scripts/tsconfig.json scripts/eslint.ts","fmt":"prettier --write **/*.{ts,js,md,json,yml,yaml} --config ./.prettierrc.json"},"dependencies":{"@noelware/utils":"2.2.1","nitropack":"2.1.0"},"devDependencies":{"@actions/core":"1.10.0","@augu/eslint-config":"3.0.0","@augu/tsconfig":"1.1.1","@types/eslint":"8.4.10","@types/node":"18.11.18","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.49.0","@typescript-eslint/parser":"5.49.0","eslint":"8.32.0","eslint-config-prettier":"8.6.0","log-symbols":"5.1.0","prettier":"2.8.3","rimraf":"4.1.2","signale":"1.4.0","tsup":"6.5.0","tsx":"3.12.2","typescript":"4.9.4"},"peerDependencies":{"fastify":"4.x"},"gitHead":"0c513ea58a8418888390aa8bc54250873dd4a37c","homepage":"https://github.com/auguwu/nitro-preset#readme","_id":"@augu/fastify-nitro@1.0.2","_nodeVersion":"19.5.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-YvtEMmw0J3R3s5zIFQkzDj+++z5YkU8fb3C1KMTbBsFc0iRIg8nVmphEnfI0Y0TGdbhJvSXhfIJ/E2g68uxkcQ==","shasum":"54da94654979a63eac56068119928e68e3fcd9ed","tarball":"https://registry.npmjs.org/@augu/fastify-nitro/-/fastify-nitro-1.0.2.tgz","fileCount":7,"unpackedSize":9402,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYY/NZIh0xZEWjLoHSLfV6JQwQCpkY98/hqMhOebgGmQIhAPaQjf5ZBcS1w+T1RkVvsdk2AB2QXkA9L4b3dbgE1ZPP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1JW5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovwQ//Uwjw7r9oJJF152jrPDoWSo0pNREqP86aQ3zVkwT1dn/V25kF\r\nmvABvB6BFdUy9cXDDB2nZ3NO9QqUozFimxwIG0wSl33Cp9YYECisIHVG898I\r\nc5803l0SMjpr2CP+11SurDjESbVbpo3IY3YLwg+jzjAB6l1wpW5tGOUARn/t\r\nhh+zgMLzlHGtV3UV6pikYF9Nt2fbNq3kkQzeJyn/XLx72g4kdLpXeIWWzBxf\r\nJ4GwSNIeeVzO0Bq/y89AzYmqHduwIFzCZbC75nYPuuOc4i5v/XybuNTYXQ70\r\n7O92gV+bObZLx6Gf20wE/CT4L1U8GRy4TjE+W7wLxciKKxpmPuD0KDrvC0Va\r\n3v4d3vqD9sLkOypizULVf/eEu+D2bPHblcQXdZVrEcxixsAoUjE1KJjbZaAU\r\ngShiYWjCFsQb8QosSyfr/z3gbLhvy/LKdCCT7nP4AZI51MKOmX8RSi2P8W5W\r\nAn8jXRCmDQDBMnDlyEqXOhbjjMj5Xvxfp3Alo7TFP1U0sSeB6/1xGcl1N5bB\r\nfFT0WKPyDLTi6hs4y50hiMlDNtDBizaTFGBfsO4Hd0plfNTN+PgX6U2ySvH2\r\n7s53/nl//f5+16/FscGzNbNW4cmSYt20jlFBfSSLQcYKmEJa/DVVLHek+RVc\r\n8X6J+wmiwI3cor5e9GKKmWmGSm3LjX/5Ras=\r\n=hXqN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"auguwu","email":"ohlookitsaugust@gmail.com"},"directories":{},"maintainers":[{"name":"auguwu","email":"ohlookitsaugust@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-nitro_1.0.2_1674876344932_0.8320657168916841"},"_hasShrinkwrap":false},"1.1.0":{"name":"@augu/fastify-nitro","description":"🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify","version":"1.1.0","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/auguwu/nitro-preset.git"},"bugs":{"url":"https://github.com/auguwu/nitro-preset/issues"},"packageManager":"yarn@3.3.1","exports":{".":{"import":"./dist/index.mjs","default":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"yarn fmt && yarn lint && rimraf build && tsup","lint":"tsx --tsconfig ./scripts/tsconfig.json scripts/eslint.ts","fmt":"prettier --write **/*.{ts,js,md,json,yml,yaml} --config ./.prettierrc.json"},"dependencies":{"@noelware/utils":"2.2.1","nitropack":"2.1.0"},"devDependencies":{"@actions/core":"1.10.0","@augu/eslint-config":"3.0.0","@augu/tsconfig":"1.1.1","@types/eslint":"8.4.10","@types/node":"18.11.18","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.49.0","@typescript-eslint/parser":"5.49.0","eslint":"8.32.0","eslint-config-prettier":"8.6.0","log-symbols":"5.1.0","prettier":"2.8.3","rimraf":"4.1.2","signale":"1.4.0","tsup":"6.5.0","tsx":"3.12.2","typescript":"4.9.4"},"peerDependencies":{"fastify":"4.x"},"gitHead":"5242d6653386a57945e4dcd6093430769d8a7191","homepage":"https://github.com/auguwu/nitro-preset#readme","_id":"@augu/fastify-nitro@1.1.0","_nodeVersion":"19.5.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-8UmynLrD6azEKLEGNyxgKVeLiEnKrx6r9NGdwYK14JdXy5/G+8sWmgEx1WlQq0k5Q/v5Rm6Fu7mTYty9+Jy0cQ==","shasum":"d6826f44c0fa601598cff6ea430e43359ff6d068","tarball":"https://registry.npmjs.org/@augu/fastify-nitro/-/fastify-nitro-1.1.0.tgz","fileCount":7,"unpackedSize":11221,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCC8E0PgUHqM2lgiiCUODP3RDdK/gC6wsQCLPgoJgop5AIhANrCJlYUvWgtjUlb47x2SFZ1aBfQF4IxQ2YuZezk4/Pe"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1M/MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWag//dGu/Lq8pwVyoPsOveoAr11RWFkP7OR3r5bLSwt19M/pUtcmN\r\neZtx49qxokVIYMvmCqWhTCb3puTw97Q/9O7TFjgab7148qXsnocGpuR0pgw7\r\nt7hcdQAIdvhomUJgKW/HSGoJDFircpKncH9r8r26zeA0SbfJZJDE1tj6Uqwy\r\n9K9+gvBDtrEHKWB5pV4gHI4Vi8MZY2sIlaZ91irjXyVTGyKAfYQPGUAJ3AEh\r\nCGYptxs12kAwAiEcf/7a22O398qHynvrkRGJZnfjnFg3IWN7KRhmJnoTm3wb\r\nP/Glh7TsEvAa2Cqo69/qP4ElVtIu72Vh12lUYXWoaMoh8y+yd9S51OKJ6Avw\r\nr3iqjPd+LYAgkXOBLuPmh8339LNZ9ijELJvIbb08zmlJWjfbK5CWkjFbmhQ7\r\n4mWFikc9YccTWQKM9SOTc+bcTxbdUNMOia6J8nG95ypVFJszSF3BBYNbuoaU\r\ncbfYhQJS6G//yeMg3FbakxTD9rFsmq4al8hyfFIHT8p0hV7lid/O+uCWbqTX\r\n64aeh/xRBwfvJPAPL8CNDUdLXqP2CTbdmjE8MVif8uSEQyo328xRC3Rclh3b\r\nHlm8OUoxuE2eT6O5D6l5Q1iYFaIYFhWcBZjQ3qHX9zESHQLMWZRCYZCGJLQx\r\nrDuRjjhcZMvjSW9QMMO0mtQ5tz9BzP/ZmZU=\r\n=MT/s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"auguwu","email":"ohlookitsaugust@gmail.com"},"directories":{},"maintainers":[{"name":"auguwu","email":"ohlookitsaugust@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-nitro_1.1.0_1674891212098_0.1416271044935531"},"_hasShrinkwrap":false},"1.2.0":{"name":"@augu/fastify-nitro","description":"🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify","version":"1.2.0","main":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/auguwu/nitro-preset.git"},"bugs":{"url":"https://github.com/auguwu/nitro-preset/issues"},"packageManager":"yarn@3.5.1","exports":{".":{"import":"./dist/index.mjs","default":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"yarn fmt && yarn lint && rimraf build && tsup","lint":"tsx --tsconfig ./scripts/tsconfig.json scripts/eslint.ts","fmt":"prettier --write **/*.{ts,js,md,json,yml,yaml} --config ./.prettierrc.json"},"dependencies":{"@noelware/utils":"2.3.0","nitropack":"2.4.0"},"devDependencies":{"@actions/core":"1.10.0","@augu/eslint-config":"4.0.1","@augu/tsconfig":"1.1.1","@types/eslint":"8.37.0","@types/node":"20.1.4","@types/prettier":"2.7.2","@typescript-eslint/eslint-plugin":"5.59.5","@typescript-eslint/parser":"5.59.5","eslint":"8.40.0","eslint-config-prettier":"8.8.0","log-symbols":"5.1.0","prettier":"2.8.8","rimraf":"5.0.0","signale":"1.4.0","tsup":"6.7.0","tsx":"3.12.7","typescript":"5.0.4"},"peerDependencies":{"fastify":"4.x"},"gitHead":"6b5c8f22e0c1c332a221e9e54d8e61ba2125c34a","homepage":"https://github.com/auguwu/nitro-preset#readme","_id":"@augu/fastify-nitro@1.2.0","_nodeVersion":"19.9.0","_npmVersion":"9.6.3","dist":{"integrity":"sha512-THViPxebTIzmP+AMT0XsD+1qEJbvrHV2xuiFPptP9UCdzYY4xiOSYFZQaJY9gcFCM7iR1o+MwApJtSZTBb4Tlg==","shasum":"4243853b274160b0399198fb48e23358ff56cfc6","tarball":"https://registry.npmjs.org/@augu/fastify-nitro/-/fastify-nitro-1.2.0.tgz","fileCount":7,"unpackedSize":11644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCE14T/gAX+ZiihKKFOWlJAkVOwTq+xB0Qs2GGm3PGZsQIhAMVucQvr7gD8v+GCWtgJ5YQj33UFoBAZ6/HaMWvav5rO"}]},"_npmUser":{"name":"auguwu","email":"ohlookitsaugust@gmail.com"},"directories":{},"maintainers":[{"name":"auguwu","email":"ohlookitsaugust@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fastify-nitro_1.2.0_1684023598985_0.5360851763424059"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-28T03:13:13.625Z","1.0.0":"2023-01-28T03:13:13.832Z","modified":"2023-05-14T00:19:59.299Z","1.0.1":"2023-01-28T03:20:04.689Z","1.0.2":"2023-01-28T03:25:45.106Z","1.1.0":"2023-01-28T07:33:32.251Z","1.2.0":"2023-05-14T00:19:59.163Z"},"maintainers":[{"name":"auguwu","email":"ohlookitsaugust@gmail.com"}],"description":"🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify","homepage":"https://github.com/auguwu/nitro-preset#readme","repository":{"type":"git","url":"git+https://github.com/auguwu/nitro-preset.git"},"bugs":{"url":"https://github.com/auguwu/nitro-preset/issues"},"readme":"# 🐻‍❄️⚗️ @augu/fastify-nitro\n\n> _Experimental [Nitro](https://nitro.unjs.io) preset to export a Nitro server as middleware for fastify_\n\n**@augu/fastify-nitro** is my little preset for building [Nitro](https://nitro.unjs.io) applications that expose a [fastify](https://fastify.io) server or middleware export.\n\n> **Note**: Why did you create this?\n>\n> I made this library to easily integrate fastify with Nitro (or Nuxt 3) so I can have other handlers bound to fastify and I don't really like how server middleware works or is defined, I rather just do it at the application level, not at the meta-framework level.\n\n## Usage\n\n```shell\n$ npm i --save-dev @augu/fastify-nitro\n$ yarn add -D @augu/fastify-nitro\n```\n\n> **nitro.config.ts**\n\n```ts\nimport { defineNitroConfig } from 'nitropack';\n\nexport default defineNitroConfig({\n    preset: '@augu/fastify-nitro'\n});\n```\n\n## Nuxt Usage\n\nTo use this plugin with Nuxt 3, you just need to use `NITRO_PRESET=@augu/fastify-nitro` or add it in your Nuxt configuration:\n\n```ts\nexport default defineNuxtConfig({\n    nitro: {\n        preset: '@augu/fastify-nitro'\n    }\n});\n```\n\n## Base URL\n\nThis preset respects the **baseURL** option in the Nitropack configuration. You will need to set the `prefix` to be usuable so fastify knows how to use it!\n\n> **nitro.config.ts**\n\n```ts\nimport { defineNitroConfig } from 'nitropack';\n\nexport default defineNitroConfig({\n    preset: '@augu/fastify-nitro',\n    baseURL: '/some-url'\n});\n```\n\n> **server.js**\n\n```js\nconst nitroPlugin = await import('./.output/server/index.mjs');\n\napp.register(nitroPlugin, {\n    // It has to be the same as `baseURL` in nitro.config.ts or it will\n    // error.\n    prefix: '/some-url'\n});\n```\n\n## Contributing\n\nThanks for considering contributing to **@augu/fastify-nitro**! Before you boop your heart out on your keyboard ✧ ─=≡Σ((( つ•̀ω•́)つ, we recommend you to do the following:\n\n-   Read the [Code of Conduct](./.github/CODE_OF_CONDUCT.md)\n-   Read the [Contributing Guide](./.github/CONTRIBUTING.md)\n\nIf you read both if you're a new time contributor, now you can do the following:\n\n-   [Fork me! ＊\\*♡( ⁎ᵕᴗᵕ⁎ ）](https://github.com/auguwu/nitro-preset/fork)\n-   Clone your fork on your machine: `git clone https://github.com/your-username/fastify-nitro`\n-   Create a new branch: `git checkout -b some-branch-name`\n-   Run `corepack enable` and use `yarn` for this project\n-   BOOP THAT KEYBOARD!!!! ♡┉ˏ͛ (❛ 〰 ❛)ˊˎ┉♡\n-   Commit your changes onto your branch: `git commit -am \"add features （｡>‿‿<｡ ）\"`\n-   Push it to the fork you created: `git push -u origin some-branch-name`\n-   Submit a Pull Request and then cry! ｡･ﾟﾟ･(థ Д థ。)･ﾟﾟ･｡\n\n## License\n\n**@augu/nitro-preset** is released under the **MIT License** with love by [Noel](https://floofy.dev)! :polar_bear::purple_heart:\n","readmeFilename":"README.md"}