{"_id":"@astro-utils/express-endpoints","_rev":"9-b401b2ff6081fb31e0033011f5fff481","name":"@astro-utils/express-endpoints","dist-tags":{"latest":"2.1.2"},"versions":{"0.0.1":{"name":"@astro-utils/express-endpoints","version":"0.0.1","keywords":[],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@0.0.1","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"dist":{"shasum":"fc404d08515f7149bf8733fdacfdd3158a665ade","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-0.0.1.tgz","fileCount":1,"integrity":"sha512-LNLynH/LtrrYYJvT09dCMiN4ZAg0t1JpbrMGMnEmknmM0gl/m7uRVGJsiN7L6CnU3JPaUD4W1EtuH8VFu4z9BQ==","signatures":[{"sig":"MEUCIQDIRXkFzCDrbzYPqPRfUhwON8RO4mbBva3pJyyLJN413wIgIn7AsyS1bwrQ3P6y3aPJ9iK5+eOQcFnZOGxmIm/dRlo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":250},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"_npmVersion":"10.1.0","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_0.0.1_1700478303109_0.42882082876574423","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@astro-utils/express-endpoints","version":"1.0.0","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@1.0.0","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"4b7e0add6e6f6b2b962cdb81e88d89ce2e143481","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-1.0.0.tgz","fileCount":14,"integrity":"sha512-hno+4LIHb6ZHpWLG0W2utzAB6TejSkaj1AmyQxau+zxVFcYJSxCqq8G1mYfbTcLtjiqqpxz/RFbiLo9pdIyN+w==","signatures":[{"sig":"MEUCIQCAq2Yua+FrEPTj5LguiTrvc/ShUW5nebhiq1h6lLD3hgIgQ65DewTXMqnNuKcwZTZ77sGWAhbSkHhiqxsGt6GGq3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18521},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"e59362e8ec1d1961ae94a306e8e71959e7fe547b","scripts":{"build":"rm -r dist; tsc","prepack":"npm run build","release":"semantic-release --extends ../../.config/semantic-release.json"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.9.0","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","@astro-utils/formidable":"1.1.0","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^3.5.5","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_1.0.0_1700488095139_0.7983814783000789","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@astro-utils/express-endpoints","version":"1.0.1","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@1.0.1","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"32912e2344b069fe18ba48658846de8f87e554ac","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-1.0.1.tgz","fileCount":14,"integrity":"sha512-fKAIHA6rWaKJyxQ3KPIA98y2c8591s9oLKmtRjOXd15+msa0ZD5cNBKxMRbwL7Tcin/6LGW8S6mBuYdVc9WdPw==","signatures":[{"sig":"MEYCIQCshBxZUydHJQvQ8Dx1Kr0P+T7XjPaz6RFDwAHgYIFPDgIhAKYeexvUiq9PN1BIhbSxWkQ5A4tG/Lxhf4x+LtzZ6FDM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18521},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"275d1a6e40bacd90d7b643c81b22b654d43395ac","scripts":{"build":"rm -r dist; tsc","prepack":"npm run build","release":"semantic-release --extends ../../.config/semantic-release.json"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.9.0","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","@astro-utils/formidable":"1.1.0","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^3.5.5","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_1.0.1_1700488630575_0.04074563230928052","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@astro-utils/express-endpoints","version":"1.0.2","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@1.0.2","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"f362d88ffebdb395847e9ad47e8959028b701561","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-1.0.2.tgz","fileCount":14,"integrity":"sha512-m2wvY6h8nMby4a9eERvpgSi2JnZ8nHe1Qz0edXUbZdh74ST3vXUByrxDEb7JEzb++fp00Oq19H8zI8X+aDW5qg==","signatures":[{"sig":"MEUCIQCUie3UW906LoUeE6ZGhiK1D68z9ODTX+FDWA7m6YYO/wIgfQufYmP+Rec++vk4nmXIWrefirAoRCgQjHcx6GytTSU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20878},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"326286531e8820b9e23613afac5bf57e336362dc","release":{"ci":true,"extends":"semantic-release-commit-filter","plugins":[["@semantic-release/commit-analyzer",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"releaseRules":[{"type":"docs","scope":"README","release":"patch"},{"type":"update","scope":"bind","release":"patch"},{"type":"refactor","release":"patch"},{"type":"style","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"writerOpts":{"commitsSort":["subject","scope"]},"presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","hidden":true},{"type":"perf","hidden":true},{"type":"test","hidden":true}],"header":"Release Notes"}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github"],"branches":["main"],"tagFormat":"@astro-utils/express-endpoints@${version}"},"scripts":{"build":"rm -r dist; tsc","prepack":"npm run build","release":"semantic-release"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.9.0","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","@astro-utils/formidable":"1.1.2","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^3.5.5","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_1.0.2_1700507271838_0.41348828056521447","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@astro-utils/express-endpoints","version":"1.0.3","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints","withastro"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@1.0.3","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"13bd4e605f94f56955e815904c35ff404e0a4aef","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-1.0.3.tgz","fileCount":14,"integrity":"sha512-HvVSeYrpiUir6osPBZLXEreXL3lIT1MC+7/ULuWyGRiJSZMtnU6gjQC2NIgxHOL704nn67krfesqmybA1jHnJA==","signatures":[{"sig":"MEQCIAsiBJiFZDllT9m+kfzmg8s9Bb2CM7Uw6gYuOwk/vgEkAiAMcjD8VCIHJbqZERXnaMAa5oTsa1aEcKgRgvLvvVu0cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20943},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"c10333699055c85e7d97d0e0e07b07f12ab909a3","release":{"ci":true,"extends":"semantic-release-commit-filter","plugins":[["@semantic-release/commit-analyzer",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"releaseRules":[{"type":"docs","scope":"README","release":"patch"},{"type":"refactor","release":"patch"},{"type":"style","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"writerOpts":{"commitsSort":["subject","scope"]},"presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","hidden":true},{"type":"perf","hidden":true},{"type":"test","hidden":true}],"header":"Release Notes"}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github",["@semantic-release/git",{"assets":["CHANGELOG.md","LICENSE"]}]],"branches":["main","master"],"tagFormat":"@astro-utils/express-endpoints@${version}"},"scripts":{"build":"rm -r dist; tsc","prepack":"npm run build"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.9.0","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","@astro-utils/formidable":"^1.1.3","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^3.5.5","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_1.0.3_1700595584514_0.019806402868788098","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@astro-utils/express-endpoints","version":"2.0.0","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints","withastro"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@2.0.0","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"04c8b77c372afbdc6b585d615e7f65f13c09fc7a","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-2.0.0.tgz","fileCount":14,"integrity":"sha512-qrYFW5XTbi2eORqWa5ow+eJtN2u+1TBBaMz8eXsgeQCvRbVEmU8RFzbu1t4yIphg0ofZuURrDtOY4l3HfdnM/w==","signatures":[{"sig":"MEQCIDGZ6Jw/ItrxkQcwkURnJVXISCHDZaMe02eeFj+GzcDrAiAYmiTb+LWXaQZ4BBh43SEiThCv0+nBKqNxCTgnk3eODQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21069},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"7f4587a32f823a979d955b62e63647e2c2486a36","release":{"ci":true,"extends":"semantic-release-commit-filter","plugins":[["@semantic-release/commit-analyzer",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"releaseRules":[{"type":"bump","release":"patch"},{"release":"major","breaking":true},{"revert":true,"release":"patch"},{"type":"*!","release":"major"},{"type":"breaking","release":"major"},{"type":"docs","scope":"README","release":"patch"},{"type":"refactor","release":"patch"},{"type":"style","release":"patch"},{"type":"types","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"writerOpts":{"commitsSort":["subject","scope"]},"presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","hidden":true},{"type":"perf","hidden":true},{"type":"test","hidden":true}],"header":"Release Notes"}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github",["@semantic-release/git",{"assets":["CHANGELOG.md","LICENSE"]}]],"branches":["main","master"],"tagFormat":"@astro-utils/express-endpoints@${version}"},"scripts":{"build":"rm -r dist; tsc","prepack":"npm run build"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.10.0","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.0.6","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_2.0.0_1702914877709_0.5292724359332623","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@astro-utils/express-endpoints","version":"2.1.0","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints","withastro"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@2.1.0","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"d047c63de19c7eb97372186bf449a5d7e13e5485","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-2.1.0.tgz","fileCount":14,"integrity":"sha512-mH4ATYHgtKGz2fXQeYs4F7KoWOJAHo4jZnElv6t/mVojmyP9zpRGPZFGLKu+UlYjQaAPQWCRQJlPBdhKBmSkMQ==","signatures":[{"sig":"MEQCICILmGo3xk+X+WLszee/CbRA7eScyrhQ6devpakGs6FlAiAa7AKamOsFzN6d7A5Entw/IRdmF8KWqmv838hIGiVN2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20989},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"40cd2256398425045480af4ec775b452f2aad66d","release":{"ci":true,"extends":"semantic-release-commit-filter","plugins":[["@semantic-release/commit-analyzer",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"releaseRules":[{"type":"bump","release":"patch"},{"release":"major","breaking":true},{"revert":true,"release":"patch"},{"type":"*!","release":"major"},{"type":"breaking","release":"major"},{"type":"docs","scope":"README","release":"patch"},{"type":"refactor","release":"patch"},{"type":"style","release":"patch"},{"type":"types","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"writerOpts":{"commitsSort":["subject","scope"]},"presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","hidden":true},{"type":"perf","hidden":true},{"type":"test","hidden":true}],"header":"Release Notes"}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github",["@semantic-release/git",{"assets":["CHANGELOG.md","LICENSE"]}]],"branches":["main","master"],"tagFormat":"@astro-utils/express-endpoints@${version}"},"scripts":{"build":"rm -r dist; tsc","prepack":"npm run build"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.10.0","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.0.6","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_2.1.0_1703431211012_0.22948925155676525","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"@astro-utils/express-endpoints","version":"2.1.1","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints","withastro"],"author":{"name":"Ido S."},"license":"MIT","_id":"@astro-utils/express-endpoints@2.1.1","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"homepage":"https://withastro-utils.github.io/docs/","bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"dist":{"shasum":"c5dea8e847f015f21d31e2f2ab8a4fe31d8b4eb0","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-2.1.1.tgz","fileCount":14,"integrity":"sha512-UuYANB8z2HrpnttkOIWIoPCylERxPs0jUmCxRJej6XsNIVFJSKpb4CX+xfIwz40jLNmX79YTRB8e/Biv2yD2cg==","signatures":[{"sig":"MEUCIExnFLfajj8ueFtRkTmAHAQwe0cOslqnuzFknUs9hKldAiEAi/rubayiMy73PESbvKJ+wjTvTUGg+VtzZBDkMApafgE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21018},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":"./dist/index.js"},"gitHead":"f417cf0f962b7c206baa270703cc44695437b05a","release":{"ci":true,"extends":"semantic-release-commit-filter","plugins":[["@semantic-release/commit-analyzer",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"releaseRules":[{"type":"bump","release":"patch"},{"release":"major","breaking":true},{"revert":true,"release":"patch"},{"type":"*!","release":"major"},{"type":"breaking","release":"major"},{"type":"docs","scope":"README","release":"patch"},{"type":"refactor","release":"patch"},{"type":"style","release":"patch"},{"type":"types","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"angular","parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"writerOpts":{"commitsSort":["subject","scope"]},"presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","hidden":true},{"type":"perf","hidden":true},{"type":"test","hidden":true}],"header":"Release Notes"}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github",["@semantic-release/git",{"assets":["CHANGELOG.md","LICENSE"]}]],"branches":["main","master"],"tagFormat":"@astro-utils/express-endpoints@${version}"},"scripts":{"build":"rm -r dist; tsc","prepack":"npm run build"},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"repository":{"url":"git+https://github.com/withastro-utils/utils.git","type":"git"},"_npmVersion":"10.2.4","description":"Express-like framework for Astro Endpoints","directories":{},"_nodeVersion":"20.11.1","dependencies":{"mime":"^3.0.0","cookie":"^0.6.0","statuses":"^2.0.1","@tinyhttp/accepts":"^2.2.0","zod-express-middleware":"^1.4.0","express-serve-static-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^4.0.6","typescript":"^5.2.2","@types/mime":"^3.0.4","@types/statuses":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-endpoints_2.1.1_1712245298485_0.3631296021223236","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"@astro-utils/express-endpoints","version":"2.1.2","description":"Express-like framework for Astro Endpoints","type":"module","scripts":{"build":"rm -r dist; tsc","prepack":"npm run build"},"main":"./dist/index.js","exports":{".":"./dist/index.js"},"keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints","withastro"],"homepage":"https://withastro-utils.github.io/docs/","author":{"name":"Ido S."},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/withastro-utils/utils.git"},"bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mime":"^3.0.4","@types/statuses":"^2.0.4","astro":"^4.0.6","typescript":"^5.2.2"},"dependencies":{"@tinyhttp/accepts":"^2.2.0","cookie":"^0.6.0","express-serve-static-core":"0.1.1","mime":"^3.0.0","statuses":"^2.0.1","zod-express-middleware":"^1.4.0"},"release":{"extends":"semantic-release-commit-filter","ci":true,"branches":["main","master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"angular","releaseRules":[{"type":"bump","release":"patch"},{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"*!","release":"major"},{"type":"breaking","release":"major"},{"type":"docs","scope":"README","release":"patch"},{"type":"refactor","release":"patch"},{"type":"style","release":"patch"},{"type":"types","release":"patch"}],"parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]}}],["@semantic-release/release-notes-generator",{"preset":"angular","presetConfig":{"header":"Release Notes","types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","hidden":true},{"type":"perf","hidden":true},{"type":"test","hidden":true}]},"parserOpts":{"noteKeywords":["BREAKING CHANGE","BREAKING CHANGES","BREAKING"]},"writerOpts":{"commitsSort":["subject","scope"]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github",["@semantic-release/git",{"assets":["CHANGELOG.md","LICENSE"]}],["@semantic-release/exec",{"publishCmd":"npx -y semantic-release-npm-workspaces-monorepo cache ${nextRelease.version}"}]],"tagFormat":"@astro-utils/express-endpoints@${version}"},"_id":"@astro-utils/express-endpoints@2.1.2","gitHead":"ff822211497b6910c716778ceb553bf5301d34ac","types":"./dist/index.d.ts","_nodeVersion":"20.19.5","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Z1QP4B2PinH1dNxLDJzcpAq4kH+3Y6MA04NtGM/Vu7vP5EDoiTYtLXS6AGq5duF4hE1V95KAeLyTfFbBiCrSdw==","shasum":"62b3d07bfa4a068e7ad4b350c00447479c0e58c5","tarball":"https://registry.npmjs.org/@astro-utils/express-endpoints/-/express-endpoints-2.1.2.tgz","fileCount":14,"unpackedSize":21212,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAzclBdW+gK1lQFEKxCqoHiN6QQb3iQ70pP5NrAxq1QbAiBJoV82cWXnBrMS4/xx/RXLv8bXZHTdD3bIlTARcFL+TA=="}]},"_npmUser":{"name":"ido.pluto","email":"ido.pluto@gmail.com"},"directories":{},"maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/express-endpoints_2.1.2_1760622742913_0.5715869337584327"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-20T11:05:03.039Z","modified":"2025-10-16T13:52:23.308Z","0.0.1":"2023-11-20T11:05:03.284Z","1.0.0":"2023-11-20T13:48:15.301Z","1.0.1":"2023-11-20T13:57:10.744Z","1.0.2":"2023-11-20T19:07:52.091Z","1.0.3":"2023-11-21T19:39:44.774Z","2.0.0":"2023-12-18T15:54:37.894Z","2.1.0":"2023-12-24T15:20:11.182Z","2.1.1":"2024-04-04T15:41:38.670Z","2.1.2":"2025-10-16T13:52:23.094Z"},"bugs":{"url":"https://github.com/withastro-utils/utils/issues"},"author":{"name":"Ido S."},"license":"MIT","homepage":"https://withastro-utils.github.io/docs/","keywords":["astro","express","astro-utils","rest","restful","http","api","endpoints","withastro"],"repository":{"type":"git","url":"git+https://github.com/withastro-utils/utils.git"},"description":"Express-like framework for Astro Endpoints","maintainers":[{"name":"ido.pluto","email":"ido.pluto@gmail.com"}],"readme":"# Astro Express Endpoints\n\nLet you use an express-like framework in astro endpoints, with builtin:\n\n- Cookie parser\n- Body parser\n- Express middleware\n- Body validation (via [`zod-express-middleware`](https://www.npmjs.com/package/expree))\n- Session (When using [`@astro-utils/forms`](https://www.npmjs.com/package/@astro-utils/forms))\n\n## Usage\n\n```ts\nconst router = new ExpressRoute();\n\nrouter.validate({\n    body: z.object({\n        name: z.string()\n    })\n});\n\nexport const POST = router.route(async (req, res) => {\n    await new Promise(res => setTimeout(res, 1000));\n    res.json({\n        name: req.body.name,\n        url: 'This is a POST request'\n    });\n});\n```\n\nWhen using the `validate` method it will be applied only to the next route.\n\nMeaning that you can use the same router for multiple methods.\n\n## Body parser\n\nThe default body-parser is `auto` meaning that it will parse the body no matter the type of it\nincluding `multipart/form-data`.\n\nYou can configure the body parser by calling the `body` method.\n\n```ts\nconst router = new ExpressRoute();\n\nrouter.body('multipart');\n\nexport const POST = router.route((req, res) => {\n    const myFile = req.filesOne.myFile;\n\n    res.json({\n        name: myFile?.name || 'No file',\n    });\n});\n```\n\n## Cookie parser\n\nUse the default astro cookie parser for that\n","readmeFilename":"README.md"}