{"_id":"@288-toolkit/http","_rev":"15-ce03cf23ebe0823126e54d0767abed83","name":"@288-toolkit/http","dist-tags":{"latest":"4.5.0"},"versions":{"1.0.0":{"name":"@288-toolkit/http","version":"1.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@1.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"71b11a95e4393116fed8082729658272c0620f8f","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-1.0.0.tgz","fileCount":8,"integrity":"sha512-jYA1P4LuHXjW4NGq1XhAFH3iA7iGAUthqnyn28XspA+xF5jpEYmP9TvoSNs/MnV1dr3FJRPcJ1B+YpxDWuWgFQ==","signatures":[{"sig":"MEQCIEI+Qg00xU96LrKR0UoWt/uVB3nZwrcDDhBpEVxIIJQwAiAZwx0ADpviLk6A+6rZFjjqNxfLpWrM6RQoituZswjTPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4946},"type":"module","_from":"file:288-toolkit-http-1.0.0.tgz","scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/private/var/folders/k6/gmpb3s_x4kb4v14gmbp18y_40000gs/T/c52cd338d4cf6b89521ecb0da6c1d501/288-toolkit-http-1.0.0.tgz","_integrity":"sha512-jYA1P4LuHXjW4NGq1XhAFH3iA7iGAUthqnyn28XspA+xF5jpEYmP9TvoSNs/MnV1dr3FJRPcJ1B+YpxDWuWgFQ==","_npmVersion":"9.8.1","description":"[!IMPORTANT] This package only exports typescript files.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"@288-toolkit/types":"^1.3.1"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_1.0.0_1712871185587_0.8456820058144114","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@288-toolkit/http","version":"1.0.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@1.0.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"7fb421608aa0d8147f8c567eed08c18031789361","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-1.0.1.tgz","fileCount":17,"integrity":"sha512-7J0JAAybBBPWWPYGTcP1K385pCkJiy7pIR2BNM9LLnqDTItOa8Xm28P7KxPLvq0fYhb1T1RpNhpucgqwCRrIlg==","signatures":[{"sig":"MEUCIHtJgtcAMpKfsONrbtgSFTCfndXFFZSeOCW/tTM5MopgAiEA/hhhUCFQ6yPHZfEEgtrHyeRPTa+KK2u9AHYo6pbMRyY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18330},"type":"module","_from":"file:288-toolkit-http-1.0.1.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/private/var/folders/k6/gmpb3s_x4kb4v14gmbp18y_40000gs/T/a8e7cb267c11c4b4c537be46343f9d6d/288-toolkit-http-1.0.1.tgz","_integrity":"sha512-7J0JAAybBBPWWPYGTcP1K385pCkJiy7pIR2BNM9LLnqDTItOa8Xm28P7KxPLvq0fYhb1T1RpNhpucgqwCRrIlg==","_npmVersion":"9.8.1","description":"[!IMPORTANT] This package only exports typescript files.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"@288-toolkit/types":"^1.3.1"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_1.0.1_1712871852428_0.477112121808948","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@288-toolkit/http","version":"1.1.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@1.1.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"2c01fdc3272bafcf77db9a6dd514ef398b311a03","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-1.1.0.tgz","fileCount":18,"integrity":"sha512-6UjFvZW3PychjvldiUuOU7YrHuwIg254mKLvv9XHlqhzQbEso+YAbIBr10GNOns9TYAN4AOtC0b9WvboEx++Eg==","signatures":[{"sig":"MEUCIQCV+AHP8Eab96rBtFPT75sYUaL/Bb2rl420ZhpuQb5EJAIgPkK8aTCBjQsKt+2j9Hx2lMvVf4P2c2XOHUhrD12nnb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19472},"type":"module","_from":"file:288-toolkit-http-1.1.0.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/private/var/folders/k6/gmpb3s_x4kb4v14gmbp18y_40000gs/T/7fa1e4f64da3d8a22777dd610ade3228/288-toolkit-http-1.1.0.tgz","_integrity":"sha512-6UjFvZW3PychjvldiUuOU7YrHuwIg254mKLvv9XHlqhzQbEso+YAbIBr10GNOns9TYAN4AOtC0b9WvboEx++Eg==","_npmVersion":"9.8.1","description":"[!IMPORTANT] This package only exports typescript files.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"@288-toolkit/types":"^1.3.1"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_1.1.0_1712872498454_0.2194780253114399","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@288-toolkit/http","version":"1.1.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@1.1.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"084cf3d4485dde1c65449717155ebf583dbf52e5","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-1.1.1.tgz","fileCount":19,"integrity":"sha512-73/n1uznmZyV26xYPQPGfvWZwjQk4WQNx0hxgOQEdmQzJXSr7S5Pb3NZlfbDIO4MANwN/xA3mXRkhDvdX5nBug==","signatures":[{"sig":"MEUCIH1XZ1nA+BVl3/IqAFBMQacOBtIdPfQq6oj6I7fB5yMDAiEAgcOPQ2L5kMuk5W8KbvxpI2LblSBqbMYS1FltlCGTGzw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17209},"type":"module","_from":"file:288-toolkit-http-1.1.1.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/private/var/folders/k6/gmpb3s_x4kb4v14gmbp18y_40000gs/T/fd79ea31bc1d53f44736b301e137a41d/288-toolkit-http-1.1.1.tgz","_integrity":"sha512-73/n1uznmZyV26xYPQPGfvWZwjQk4WQNx0hxgOQEdmQzJXSr7S5Pb3NZlfbDIO4MANwN/xA3mXRkhDvdX5nBug==","_npmVersion":"9.8.1","description":"[!IMPORTANT] This package only exports typescript files.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"@288-toolkit/types":"^1.3.2"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_1.1.1_1713963376736_0.5495208405146907","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@288-toolkit/http","version":"1.1.2","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@1.1.2","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"d60295eff94b721a86358a28eaf4a927a8d30541","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-1.1.2.tgz","fileCount":8,"integrity":"sha512-trEQ8a2ezEWChiWCVo2h/LIcm8XxnRaFcoo3PvC9dlZrf3cnmEv7N4OjanLjTiEQn5oPYs25XNKMy5aaKF70AQ==","signatures":[{"sig":"MEUCIGUYjF0eWtLrRGqPuo3F199833F85TGpfSop7VDoy86nAiEA4eKz/tmgxO4Kt8e1I/elrPVpK7fCXu+vndfXzR9a0G8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6014},"type":"module","_from":"file:288-toolkit-http-1.1.2.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/7ae65009430dddbf8a423642834f44d3/288-toolkit-http-1.1.2.tgz","_integrity":"sha512-trEQ8a2ezEWChiWCVo2h/LIcm8XxnRaFcoo3PvC9dlZrf3cnmEv7N4OjanLjTiEQn5oPYs25XNKMy5aaKF70AQ==","_npmVersion":"10.5.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@288-toolkit/types":"^1.3.3"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_1.1.2_1714076119004_0.475086787091036","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@288-toolkit/http","version":"3.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@3.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"89659424c1d295c10b91580b102249a10e15013c","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-3.0.0.tgz","fileCount":14,"integrity":"sha512-jyGFDUFEv9nKZOCfM07DHZV9eGacsDxik4jaDAK8B8XDuQbWLWnUJPD5V0Z8Z7eE7oNOHwQttZ22SwSCQZfJHA==","signatures":[{"sig":"MEUCIQC+OVxSDLnne/FKofHwpWN98NtlKjhyEn2qrcMvZgIrUAIgZ0+tapaTN7Pk/QJjHTdI2+jrW+xKglP7vIDV2PEFhSQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7453},"type":"module","_from":"file:288-toolkit-http-3.0.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/efced5cc9dedd97687956ffa7bd158b9/288-toolkit-http-3.0.0.tgz","_integrity":"sha512-jyGFDUFEv9nKZOCfM07DHZV9eGacsDxik4jaDAK8B8XDuQbWLWnUJPD5V0Z8Z7eE7oNOHwQttZ22SwSCQZfJHA==","_npmVersion":"10.5.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@288-toolkit/types":"^3.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_3.0.0_1714509589056_0.14070744820881864","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@288-toolkit/http","version":"4.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"0114330fc474be313e3443f5bdf001308fdf0342","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.0.0.tgz","fileCount":14,"integrity":"sha512-OmKzu2JoOI3TcOpVsTKJjJKTE1CxGugW1JiQFADdXUVwL2dgFg1TrvY+r97wfDpm6G150HN9MtuKJTIX20No4A==","signatures":[{"sig":"MEQCIHNeMUZN9hxHl73J213j0uSn3hI6tIzN+fvdEZ9kvYytAiAa7acnm0ZzxxggBeReCt3Kp2uyaUBcaUuRoeDCw1sYxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7486},"type":"module","_from":"file:288-toolkit-http-4.0.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/bd75f5e87d734d5b647192f3ff9d6f7a/288-toolkit-http-4.0.0.tgz","_integrity":"sha512-OmKzu2JoOI3TcOpVsTKJjJKTE1CxGugW1JiQFADdXUVwL2dgFg1TrvY+r97wfDpm6G150HN9MtuKJTIX20No4A==","_npmVersion":"10.5.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@288-toolkit/types":"^3.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/http_4.0.0_1714522077145_0.3141093292798467","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@288-toolkit/http","version":"4.1.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.1.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"f8abf9d058f533ab2d5f7c4d230012cec4eeb0a1","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.1.0.tgz","fileCount":14,"integrity":"sha512-Wm9hJrbRuFoRUY5mN5kPL4dDZaL6HvV+7Q/ctf8ZNqk7UtC3LQ5HOBRSF6/fe/q4FqQdtmmSUZa8tf3EuSJzJg==","signatures":[{"sig":"MEUCIQC1QEeC43ljCTEMWF7mhkE8PdvyMNwX5U87CTpzqzDldwIgEP0mDZxL1pRy6C3EkP07QTDjtYy6qsYVyeSq3/XFjVY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10321},"type":"module","_from":"file:288-toolkit-http-4.1.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/0900e25aae4a5c5e852b12f049b93869/288-toolkit-http-4.1.0.tgz","_integrity":"sha512-Wm9hJrbRuFoRUY5mN5kPL4dDZaL6HvV+7Q/ctf8ZNqk7UtC3LQ5HOBRSF6/fe/q4FqQdtmmSUZa8tf3EuSJzJg==","_npmVersion":"10.5.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"@288-toolkit/types":"3.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/http_4.1.0_1714659716240_0.2793217546088962","host":"s3://npm-registry-packages"}},"4.1.1":{"name":"@288-toolkit/http","version":"4.1.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.1.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"cf91550789c72e106ac96f6487f131400eac1b52","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.1.1.tgz","fileCount":14,"integrity":"sha512-He7Nb8oo5qy7wr0TazU5l2d7K724PgUrXA8fPGMMZyE7sZP3PkqZsmqj7qrgs1693MaV0pCX2q7QfxisNATOsg==","signatures":[{"sig":"MEQCIC1HrHyt30cvxwyfMhCJUp5W2tlzfVqcIHffd7J74X4yAiA9e8whEugRuGE3yj+nYyLlF4PapxXeJ3k98SgXA9Y6aw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10370},"type":"module","_from":"file:288-toolkit-http-4.1.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/804540ae6037604d157f32acf076c623/288-toolkit-http-4.1.1.tgz","_integrity":"sha512-He7Nb8oo5qy7wr0TazU5l2d7K724PgUrXA8fPGMMZyE7sZP3PkqZsmqj7qrgs1693MaV0pCX2q7QfxisNATOsg==","_npmVersion":"10.5.2","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"@288-toolkit/types":"3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/http_4.1.1_1715871156192_0.9377103434767742","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"@288-toolkit/http","version":"4.2.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.2.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"74d74eff13134459c4fe56879b833f003bdd1813","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.2.0.tgz","fileCount":16,"integrity":"sha512-AfAl04h/Vo+7pvZgmEBoxHi3uMUFKo3Wp55GFqHPGKmn6YmdN4r3Gk4QpMY93NUUMQVrI2w0ehxD1FhGK7QQHg==","signatures":[{"sig":"MEYCIQDevDfLpv0F5MgFe0pX8e+KEN9ikyvNDCCgGzpQGkh4PgIhALXrxoiSegtR6cuR5DFioo+MmM1m2VVeUJGedS6NtYs1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11501},"type":"module","_from":"file:288-toolkit-http-4.2.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/31a119d6148b52a8ecc95272d2012a0b/288-toolkit-http-4.2.0.tgz","_integrity":"sha512-AfAl04h/Vo+7pvZgmEBoxHi3uMUFKo3Wp55GFqHPGKmn6YmdN4r3Gk4QpMY93NUUMQVrI2w0ehxD1FhGK7QQHg==","_npmVersion":"10.9.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@288-toolkit/types":"3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/http_4.2.0_1741877472804_0.40949798888552613","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"@288-toolkit/http","version":"4.3.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.3.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"cd1c48890222b6161f5bad4fafef0feee77a35e2","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.3.0.tgz","fileCount":18,"integrity":"sha512-VxbMwtehvoW6hP/20ULKAZYjYyIEdW4B2OIzT9k57a5qH1Pc/IWJNeB7xEhjCEibL5BiVbi1DYRBlk98Qt7QAA==","signatures":[{"sig":"MEYCIQCzOEvZiyndO1qHyEbuBDQo4ISqVr03v3RCt6ofKOrliAIhANAzKFTN29xO5W1O1kAyz1C1ShintRBESdgNJ2/FJtvH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13345},"type":"module","_from":"file:288-toolkit-http-4.3.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/01bc4f3763fe1b3d7cb0219860126f98/288-toolkit-http-4.3.0.tgz","_integrity":"sha512-VxbMwtehvoW6hP/20ULKAZYjYyIEdW4B2OIzT9k57a5qH1Pc/IWJNeB7xEhjCEibL5BiVbi1DYRBlk98Qt7QAA==","_npmVersion":"10.9.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@288-toolkit/types":"3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/http_4.3.0_1742237914165_0.634855673054165","host":"s3://npm-registry-packages-npm-production"}},"4.4.0":{"name":"@288-toolkit/http","version":"4.4.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.4.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"46db169beab5949800ec3052acd7a9e383a2a2dc","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.4.0.tgz","fileCount":21,"integrity":"sha512-UUckCWA1QB8hhXVCNp1s+SaMYGLRuzLFDo2OYsx7HAkO5MQqYWbnbwz8jNCLAWGNbCGIeJvG7NFYBngzQHXRYQ==","signatures":[{"sig":"MEUCIDH9iw9tyq/EfLrEdSiYzV10w9wLP/BClMxo5+318kHlAiEAxXDN8vUU3VAfE3ymcy31eR/mRW2I7HWyFMuDSgQL6/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15139},"type":"module","_from":"file:288-toolkit-http-4.4.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/22453b2ebb6676e58f3f6714dd5bc1bb/288-toolkit-http-4.4.0.tgz","_integrity":"sha512-UUckCWA1QB8hhXVCNp1s+SaMYGLRuzLFDo2OYsx7HAkO5MQqYWbnbwz8jNCLAWGNbCGIeJvG7NFYBngzQHXRYQ==","_npmVersion":"10.9.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@288-toolkit/types":"3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/http_4.4.0_1746027599055_0.1895903411074369","host":"s3://npm-registry-packages-npm-production"}},"4.4.1":{"name":"@288-toolkit/http","version":"4.4.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/http@4.4.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"186bd18100ee8fe46b42dbe6dca5da3f183d350e","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.4.1.tgz","fileCount":21,"integrity":"sha512-oqZYwngBgcDIzfbFOcygqpfUap5PpMHa8vcRQNF53MJEddHrH+rQPYADqcZgswjXCGuJee8VaO5Hho3tRO678w==","signatures":[{"sig":"MEQCIA91w9rMv6NDVCyhUf9EBQcw+5DBHtpw1+WAH0oHTcH6AiAikwau8l0XYDH9Tvd7tD+wEniHVpdY41beB6BTd2bs4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15133},"type":"module","_from":"file:288-toolkit-http-4.4.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/e9419c7cb1fbb24544f5e12d8ea8431d/288-toolkit-http-4.4.1.tgz","_integrity":"sha512-oqZYwngBgcDIzfbFOcygqpfUap5PpMHa8vcRQNF53MJEddHrH+rQPYADqcZgswjXCGuJee8VaO5Hho3tRO678w==","_npmVersion":"10.9.0","description":"A collection of functions to work with http.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@288-toolkit/types":"3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/http_4.4.1_1758637331839_0.9830119185830724","host":"s3://npm-registry-packages-npm-production"}},"4.5.0":{"name":"@288-toolkit/http","version":"4.5.0","homepage":"https://github.com/DeuxHuitHuit/288-toolkit/blob/main/packages/http/README.md","repository":{"type":"git","url":"git+https://github.com/DeuxHuitHuit/288-toolkit.git"},"author":{"name":"DeuxHuitHuit"},"license":"MIT","type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"dependencies":{"@288-toolkit/types":"3.1.0"},"scripts":{"build":"svelte-package -i src","test":"vitest run","test:watch":"vitest","format:prettier":"prettier --config ./.prettierrc","format:file":"npm run format:prettier -- --write","format":"npm run format:file .","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","check:watch":"npm run check -- --watch","lint":"eslint --max-warnings=0 --cache .","lint:fix":"npm run lint -- --fix","lc":"npm run lint && npm run check","lc:watch":"npm run lint && npm run check -- --watch"},"_id":"@288-toolkit/http@4.5.0","description":"A collection of functions to work with http.","bugs":{"url":"https://github.com/DeuxHuitHuit/288-toolkit/issues"},"_integrity":"sha512-Z21YKnLE+1r9oznNqoux3YeIcQBIExGFACqLCqpfkr48HluWQnQIB1Xe27/epG6zbReGKcJxXQq9EOnOawK8iA==","_resolved":"/tmp/549977e985867062383afbb29c6e6d45/288-toolkit-http-4.5.0.tgz","_from":"file:288-toolkit-http-4.5.0.tgz","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-Z21YKnLE+1r9oznNqoux3YeIcQBIExGFACqLCqpfkr48HluWQnQIB1Xe27/epG6zbReGKcJxXQq9EOnOawK8iA==","shasum":"b91ef243aa4f4d02749f5f7c29db0e0e17440422","tarball":"https://registry.npmjs.org/@288-toolkit/http/-/http-4.5.0.tgz","fileCount":21,"unpackedSize":17110,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@288-toolkit%2fhttp@4.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCMOG5SzG9Gs/1TmdOcrm1Zu8f1Rt0vjHPMgS5+gmGKzAIgXpO1lqv538D4Mar4qnKL7yBDxW9QnNhsGraLj9Zck0o="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bc00e0ed-89d7-4dd1-8340-3e87de5e0438"}},"directories":{},"maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/http_4.5.0_1784214089900_0.6549008429664742"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-11T21:33:05.420Z","modified":"2026-07-16T15:01:30.407Z","1.0.0":"2024-04-11T21:33:05.732Z","1.0.1":"2024-04-11T21:44:12.581Z","1.1.0":"2024-04-11T21:54:58.651Z","1.1.1":"2024-04-24T12:56:16.905Z","1.1.2":"2024-04-25T20:15:19.154Z","3.0.0":"2024-04-30T20:39:49.208Z","4.0.0":"2024-05-01T00:07:57.319Z","4.1.0":"2024-05-02T14:21:56.439Z","4.1.1":"2024-05-16T14:52:36.316Z","4.2.0":"2025-03-13T14:51:12.963Z","4.3.0":"2025-03-17T18:58:34.359Z","4.4.0":"2025-04-30T15:39:59.249Z","4.4.1":"2025-09-23T14:22:12.047Z","4.5.0":"2026-07-16T15:01:30.043Z"},"author":{"name":"DeuxHuitHuit"},"license":"MIT","description":"A collection of functions to work with http.","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"}],"readme":"# Http\n\nA collection of functions to work with http.\n\n## `cacheHeaders`\n\nGenerates a `cache-control` header object from the provided options.\n\nIf `enabled: false`, the `cache-control` header will be\n`'private, no-cache, noindex, max-age=0, must-revalidate'`.\n\n```ts\ntype CacheHeadersOptions = {\n\t// Disables the cache entirely\n\tenabled?: boolean;\n\t// All cache-control directives\n\tmaxAge?: number;\n\tsMaxAge?: number;\n\tstaleWhileRevalidate?: number;\n\tstaleIfError?: number;\n\tprivate?: boolean;\n\tpublic?: boolean;\n\tnoCache?: boolean;\n\tnoStore?: boolean;\n\tnoTransform?: boolean;\n\timmutable?: boolean;\n\tmustRevalidate?: boolean;\n\tproxyRevalidate?: boolean;\n\tmustUnderstand?: boolean;\n};\n\nconst cacheControl = cacheHeaders({\n\t// ...\n});\n\nreturn new Response('', {\n\theaders: cacheControl\n});\n```\n\n## `fetchTimeout`\n\nFetch with a timeout. Defaults to 20 seconds.\n\n```ts\n// 5 second timeout\nconst response = await fetchTimeout(url, { ... }, 5000);\n```\n\n## `isRedirectResponse`\n\nReturns `true` if the response is a redirect response.\n\n```ts\nconst isRedirectResponse: (response: Response) => boolean;\n```\n\n## `isWithoutBody`\n\nReturns `true` if the request should not have a body.\n\n```ts\nconst isWithoutBody: (request: Request) => boolean;\n```\n\n## `getLangFromRequest` (deprecated)\n\nGet the language from the request.\n\n```ts\nconst getLangFromRequest = <Language extends string>(\n\trequest: Request,\n\t{ supportedLanguages: Language[]; defaultLanguage: Language }\n) => Language;\n```\n\n## `parseAcceptLanguage`\n\nGiven a string of the form \"en,fr;q=0.9,de;q=0.8\", returns an array of `AcceptLanguageEntry` ordered\nby priority. This is mostly used to parse the `'Accept-Language'` header.\n\n```ts\ntype AcceptLanguageEntry = {\n\tlang: string;\n\tpriority: number;\n};\n\nconst parseAcceptLanguage = (acceptLanguage: string): Maybe<AcceptLanguageEntry[]>\n```\n\n## `acceptedLanguage`\n\nGet the accepted language from the request.\n\n```ts\nconst language = acceptedLanguage(request, {\n\tsupportedLanguages: ['en', 'fr'],\n\tdefaultLanguage: 'en'\n});\n```\n\n## `getVercelIpHeaders`\n\nGet Vercel headers from a request.\n\n```ts\nconst getVercelIpHeaders: (request: Request) => {\n\tcontinent: Maybe<string>;\n\tcountry: Maybe<string>;\n\tregion: Maybe<string>;\n\tcity: Maybe<string>;\n\tlatitude: Maybe<string>;\n\tlongitude: Maybe<string>;\n\ttimezone: Maybe<string>;\n\tip: Maybe<string>;\n};\n```\n","readmeFilename":"README.md","homepage":"https://github.com/DeuxHuitHuit/288-toolkit/blob/main/packages/http/README.md","repository":{"type":"git","url":"git+https://github.com/DeuxHuitHuit/288-toolkit.git"},"bugs":{"url":"https://github.com/DeuxHuitHuit/288-toolkit/issues"}}