{"_id":"@ahmetshbz/zap","_rev":"6-d9f277562e323319df2ce0a26e1b8b20","name":"@ahmetshbz/zap","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@ahmetshbz/zap","version":"1.0.0","keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"author":{"url":"https://www.velyo.xyz","name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com"},"license":"MIT","_id":"@ahmetshbz/zap@1.0.0","maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"dist":{"shasum":"e7bafe721889eaa832738d567eb559ea01f07f81","tarball":"https://registry.npmjs.org/@ahmetshbz/zap/-/zap-1.0.0.tgz","fileCount":19,"integrity":"sha512-nwBT0KEroh6Cb4JDRFGoQlYG/rHmuwzTsYQVPT8opCNH+3WGTXCQuXy3lRt56kBJbWk3rbvFLS79Ghq3OeDFAw==","signatures":[{"sig":"MEUCIQC0fks39PzzWRoazHzEFng6OesKtPncMdqE0D+9App+lgIgGZH3DQFscXHKr59P4CBgEiwsjz0CTD2Rpe5LYf9GUVY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":437679},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./axios":{"import":{"types":"./dist/axios.d.mts","default":"./dist/axios.mjs"},"require":{"types":"./dist/axios.d.cts","default":"./dist/axios.cjs"}}},"gitHead":"906392dd46620c7d0236cc0f9916a309953dac2d","scripts":{"dev":"unbuild --stub","lint":"eslint src test --ext .ts","test":"bun test","bench":"node benchmarks/client-bench.cjs","build":"unbuild","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","quality":"bun run format && bun run lint:fix && bun run type-check && bun run test","lint:fix":"eslint src test --ext .ts --fix","test:watch":"bun test --watch","type-check":"tsc --noEmit","bench:axios":"bun add -D axios && node benchmarks/client-bench.cjs","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","prepublishOnly":"bun run build"},"_npmUser":{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"},"repository":{"url":"git+https://github.com/Ahmetshbzz/sdk.git","type":"git","directory":"packages/http"},"_npmVersion":"11.6.0","description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","dependencies":{"ufo":"^1.5.4","destr":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.1","axios":"^1.12.2","eslint":"^9.38.0","undici":"^6.21.0","vitest":"^2.1.8","unbuild":"^2.0.0","prettier":"^3.6.2","typescript":"^5.7.2","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"peerDependencies":{"zod":"^3.22.0","undici":"^6.0.0"},"peerDependenciesMeta":{"zod":{"optional":true},"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zap_1.0.0_1761173506597_0.7249058391664227","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ahmetshbz/zap","version":"1.0.1","keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"author":{"url":"https://www.velyo.xyz","name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com"},"license":"MIT","_id":"@ahmetshbz/zap@1.0.1","maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"dist":{"shasum":"96849a5a417913717a352cdee6c24fc1502b499a","tarball":"https://registry.npmjs.org/@ahmetshbz/zap/-/zap-1.0.1.tgz","fileCount":19,"integrity":"sha512-POzQ15veBXTFZovN+OfHIRzeGnkfA+Wh1NarJZ8r6jxg5kkbaMUBtHJDPZ3TSGY1ZynAIfl5URasYPGo94NEXQ==","signatures":[{"sig":"MEUCIHNFudrh10EGH6HfMQyz3KE/meKTgCp4UMM800D0b57TAiEAtr+ep+K8AutMmTfuKvXIdLrRvKc7KmNquyGpQGwrDZA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":438489},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./axios":{"import":{"types":"./dist/axios.d.mts","default":"./dist/axios.mjs"},"require":{"types":"./dist/axios.d.cts","default":"./dist/axios.cjs"}}},"gitHead":"de6dc9278ff5d422498d1b2f9634f7ad1faf462e","scripts":{"dev":"unbuild --stub","lint":"eslint src test --ext .ts","test":"bun test","bench":"node benchmarks/client-bench.cjs","build":"unbuild","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","quality":"bun run format && bun run lint:fix && bun run type-check && bun run test","lint:fix":"eslint src test --ext .ts --fix","test:watch":"bun test --watch","type-check":"tsc --noEmit","bench:axios":"bun add -D axios && node benchmarks/client-bench.cjs","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","release:major":"npm version major --no-git-tag-version && git add package.json && git commit -m 'chore: bump version to '$(node -p \"require('./package.json').version\") && git tag v$(node -p \"require('./package.json').version\") && git push && git push --tags","release:minor":"npm version minor --no-git-tag-version && git add package.json && git commit -m 'chore: bump version to '$(node -p \"require('./package.json').version\") && git tag v$(node -p \"require('./package.json').version\") && git push && git push --tags","release:patch":"npm version patch --no-git-tag-version && git add package.json && git commit -m 'chore: bump version to '$(node -p \"require('./package.json').version\") && git tag v$(node -p \"require('./package.json').version\") && git push && git push --tags","prepublishOnly":"bun run build"},"_npmUser":{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"},"repository":{"url":"git+https://github.com/Ahmetshbzz/sdk.git","type":"git","directory":"packages/http"},"_npmVersion":"10.8.2","description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"ufo":"^1.5.4","destr":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.1","axios":"^1.12.2","eslint":"^9.38.0","undici":"^6.21.0","vitest":"^2.1.8","unbuild":"^2.0.0","prettier":"^3.6.2","typescript":"^5.7.2","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"peerDependencies":{"zod":"^3.22.0","undici":"^6.0.0"},"peerDependenciesMeta":{"zod":{"optional":true},"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zap_1.0.1_1761173858630_0.26250422144852337","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@ahmetshbz/zap","version":"1.1.0","keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"author":{"url":"https://www.velyo.xyz","name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com"},"license":"MIT","_id":"@ahmetshbz/zap@1.1.0","maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"dist":{"shasum":"32a3ae0d4893b6ac8fde6cd06c7bf4709740f5f5","tarball":"https://registry.npmjs.org/@ahmetshbz/zap/-/zap-1.1.0.tgz","fileCount":30,"integrity":"sha512-HmmxG11VdntYJoke8X1xCqBB/y+E8EAhsKWeKPWjJozkylgFr/e4XWjXZ6OoI469SScciCNgSZkJw86shnycOQ==","signatures":[{"sig":"MEQCIAXCT3rBBiGLoOr76HFfL+vjBVQ2pH6KFo8PSdNVCApKAiB4AI/3Y5FikNwiMPluMW3Wvm4clkfIRgw/UXAJ4rOtrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":494216},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"react-native":{"types":"./dist/index.native.d.mts","default":"./dist/index.native.mjs"}},"./axios":{"import":{"types":"./dist/axios.d.mts","default":"./dist/axios.mjs"},"require":{"types":"./dist/axios.d.cts","default":"./dist/axios.cjs"}}},"gitHead":"8a556eb621dad0ff158d28b89314ef8f6ff53db6","scripts":{"dev":"unbuild --stub","lint":"eslint src test --ext .ts","test":"bun test","bench":"node benchmarks/client-bench.cjs","build":"unbuild","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","quality":"bun run format && bun run lint:fix && bun run type-check && bun run test","lint:fix":"eslint src test --ext .ts --fix","test:watch":"bun test --watch","type-check":"tsc --noEmit","bench:axios":"bun add -D axios && node benchmarks/client-bench.cjs","postinstall":"node scripts/postinstall.js || exit 0","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","release:major":"npm version major -m 'chore: release v%s' && git push && git push --tags","release:minor":"npm version minor -m 'chore: release v%s' && git push && git push --tags","release:patch":"npm version patch -m 'chore: release v%s' && git push && git push --tags","prepublishOnly":"bun run build"},"_npmUser":{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"},"repository":{"url":"git+https://github.com/Ahmetshbzz/sdk.git","type":"git","directory":"packages/http"},"_npmVersion":"10.8.2","description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"ufo":"^1.5.4","destr":"^2.0.3"},"react-native":"./dist/index.native.mjs","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.1","axios":"^1.12.2","eslint":"^9.38.0","undici":"^6.21.0","vitest":"^2.1.8","unbuild":"^2.0.0","prettier":"^3.6.2","typescript":"^5.7.2","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"peerDependencies":{"zod":"^3.22.0","undici":"^6.0.0"},"peerDependenciesMeta":{"zod":{"optional":true},"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zap_1.1.0_1761177590554_0.19181334407513284","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@ahmetshbz/zap","version":"1.1.1","keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"author":{"url":"https://www.velyo.xyz","name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com"},"license":"MIT","_id":"@ahmetshbz/zap@1.1.1","maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"dist":{"shasum":"40c1d339cf07489fbb96faa899626353e00302c2","tarball":"https://registry.npmjs.org/@ahmetshbz/zap/-/zap-1.1.1.tgz","fileCount":30,"integrity":"sha512-YcZJqKCRKGoUC/jbrKGdLskoRKEBKuCGYwUY30b117w5Y1TpBOH223BGms8b8xCUdOwuIGWlHhokCDwa7nFrxA==","signatures":[{"sig":"MEQCIHUSzfWc8OPDHmNftp9sBc9zM1f/nwtm8nht3BdVlkXcAiA4zwEqrQZ2jDSUY+dG/Tp3odnyq/tTnfyCJWSOCm63uQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":494217},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"react-native":{"types":"./dist/index.native.d.mts","default":"./dist/index.native.mjs"}},"./axios":{"import":{"types":"./dist/axios.d.mts","default":"./dist/axios.mjs"},"require":{"types":"./dist/axios.d.cts","default":"./dist/axios.cjs"}}},"gitHead":"a49ab864ef94fa90d4c4733024c16e8502a81e6f","scripts":{"dev":"unbuild --stub","lint":"eslint src test --ext .ts","test":"bun test","bench":"node benchmarks/client-bench.cjs","build":"unbuild","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","quality":"bun run format && bun run lint:fix && bun run type-check && bun run test","lint:fix":"eslint src test --ext .ts --fix","test:watch":"bun test --watch","type-check":"tsc --noEmit","bench:axios":"bun add -D axios && node benchmarks/client-bench.cjs","postinstall":"node scripts/postinstall.cjs || exit 0","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","release:major":"npm version major -m 'chore: release v%s' && git push && git push --tags","release:minor":"npm version minor -m 'chore: release v%s' && git push && git push --tags","release:patch":"npm version patch -m 'chore: release v%s' && git push && git push --tags","prepublishOnly":"bun run build"},"_npmUser":{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"},"repository":{"url":"git+https://github.com/Ahmetshbzz/sdk.git","type":"git","directory":"packages/http"},"_npmVersion":"11.6.0","description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","dependencies":{"ufo":"^1.5.4","destr":"^2.0.3"},"react-native":"./dist/index.native.mjs","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.1","axios":"^1.12.2","eslint":"^9.38.0","undici":"^6.21.0","vitest":"^2.1.8","unbuild":"^2.0.0","prettier":"^3.6.2","typescript":"^5.7.2","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"peerDependencies":{"zod":"^3.22.0","undici":"^6.0.0"},"peerDependenciesMeta":{"zod":{"optional":true},"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zap_1.1.1_1761178261099_0.6999239144673834","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@ahmetshbz/zap","version":"1.1.2","keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"author":{"url":"https://www.velyo.xyz","name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com"},"license":"MIT","_id":"@ahmetshbz/zap@1.1.2","maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"dist":{"shasum":"26b06bed5ae69ce2faab722cfa470e3e194a239d","tarball":"https://registry.npmjs.org/@ahmetshbz/zap/-/zap-1.1.2.tgz","fileCount":30,"integrity":"sha512-bequiTVM/UzDDlCdbK/C7EjCuEVz3YLbaZgV7WSafuwjvPFdYakVhlrt+gj4Xy0fdJ7YM1+QLYcNyxCNyak6HQ==","signatures":[{"sig":"MEQCICeoTTKr2pwLFLsMV1H66l//UwqeDywHLwfr64qp2RS4AiBytSe60FH6kpz2QRmxyx41DBF1dPl04/eUaiyV75INMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":494322},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"react-native":{"types":"./dist/index.native.d.mts","default":"./dist/index.native.mjs"}},"./axios":{"import":{"types":"./dist/axios.d.mts","default":"./dist/axios.mjs"},"require":{"types":"./dist/axios.d.cts","default":"./dist/axios.cjs"}}},"gitHead":"3ddfe118adaa9bb91770412d311651ab1e09b758","scripts":{"dev":"unbuild --stub","lint":"eslint src test --ext .ts","test":"bun test","bench":"node benchmarks/client-bench.cjs","build":"unbuild","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","quality":"bun run format && bun run lint:fix && bun run type-check && bun run test","lint:fix":"eslint src test --ext .ts --fix","test:watch":"bun test --watch","type-check":"tsc --noEmit","bench:axios":"bun add -D axios && node benchmarks/client-bench.cjs","postinstall":"node scripts/postinstall.cjs || exit 0","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","release:major":"npm version major -m 'chore: release v%s' && git push && git push --tags","release:minor":"npm version minor -m 'chore: release v%s' && git push && git push --tags","release:patch":"npm version patch -m 'chore: release v%s' && git push && git push --tags","prepublishOnly":"bun run build"},"_npmUser":{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"},"repository":{"url":"git+https://github.com/Ahmetshbzz/sdk.git","type":"git","directory":"packages/http"},"_npmVersion":"11.6.0","description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","directories":{},"sideEffects":false,"_nodeVersion":"24.10.0","dependencies":{"ufo":"^1.5.4","destr":"^2.0.3"},"react-native":"./dist/index.native.mjs","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.24.1","axios":"^1.12.2","eslint":"^9.38.0","undici":"^6.21.0","vitest":"^2.1.8","unbuild":"^2.0.0","prettier":"^3.6.2","typescript":"^5.7.2","@typescript-eslint/parser":"^8.46.2","@typescript-eslint/eslint-plugin":"^8.46.2"},"peerDependencies":{"zod":"^3.22.0","undici":"^6.0.0"},"peerDependenciesMeta":{"zod":{"optional":true},"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/zap_1.1.2_1761178518694_0.4381990968420546","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@ahmetshbz/zap","version":"1.1.3","description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"react-native":{"types":"./dist/index.native.d.mts","default":"./dist/index.native.mjs"},"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./axios":{"import":{"types":"./dist/axios.d.mts","default":"./dist/axios.mjs"},"require":{"types":"./dist/axios.d.cts","default":"./dist/axios.cjs"}}},"react-native":"./dist/index.native.mjs","scripts":{"dev":"unbuild --stub","build":"unbuild","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","format:check":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint src test --ext .ts","lint:fix":"eslint src test --ext .ts --fix","type-check":"tsc --noEmit","test":"bun test","test:watch":"bun test --watch","bench":"node benchmarks/client-bench.cjs","bench:axios":"bun add -D axios && node benchmarks/client-bench.cjs","quality":"bun run format && bun run lint:fix && bun run type-check && bun run test","prepublishOnly":"bun run build","postinstall":"node scripts/postinstall.cjs || exit 0","release:patch":"npm version patch -m 'chore: release v%s' && git push && git push --tags","release:minor":"npm version minor -m 'chore: release v%s' && git push && git push --tags","release:major":"npm version major -m 'chore: release v%s' && git push && git push --tags"},"keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"author":{"name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com","url":"https://www.velyo.xyz"},"license":"MIT","dependencies":{"ufo":"^1.5.4","destr":"^2.0.3"},"peerDependencies":{"undici":"^6.0.0","zod":"^3.22.0"},"peerDependenciesMeta":{"undici":{"optional":true},"zod":{"optional":true}},"devDependencies":{"@typescript-eslint/eslint-plugin":"^8.46.2","@typescript-eslint/parser":"^8.46.2","axios":"^1.12.2","eslint":"^9.38.0","prettier":"^3.6.2","typescript":"^5.7.2","unbuild":"^2.0.0","undici":"^6.21.0","vitest":"^2.1.8","zod":"^3.24.1"},"engines":{"node":">=18.0.0"},"repository":{"type":"git","url":"git+https://github.com/Ahmetshbzz/sdk.git","directory":"packages/http"},"homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"sideEffects":false,"publishConfig":{"access":"public"},"_id":"@ahmetshbz/zap@1.1.3","gitHead":"8c5f17248f1476756092158bde85edacc277262e","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-szFvyAKQ3nJGHWIEPeOrXsoZcJKNdnxBmZBWwc2cW52KASKvdh9ZQJn8TB4pdMj4jSJXEr8sIAD13dvrO4xJ/A==","shasum":"f12e296556a6b33a846279ea6f8f573a75ac0fd3","tarball":"https://registry.npmjs.org/@ahmetshbz/zap/-/zap-1.1.3.tgz","fileCount":34,"unpackedSize":541521,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIACmuTEP3vkY0bEdERa0yEazOcqf1fBGJ9zkGN00/ePnAiEAzc6dem3j08ovBS1vyrT5NDxTD87TAekj0vOUm/PPPw8="}]},"_npmUser":{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"},"directories":{},"maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zap_1.1.3_1761401460887_0.7047047920941216"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-22T22:51:46.467Z","modified":"2025-10-25T14:11:01.292Z","1.0.0":"2025-10-22T22:51:46.845Z","1.0.1":"2025-10-22T22:57:38.849Z","1.1.0":"2025-10-22T23:59:50.800Z","1.1.1":"2025-10-23T00:11:01.363Z","1.1.2":"2025-10-23T00:15:18.878Z","1.1.3":"2025-10-25T14:11:01.102Z"},"bugs":{"url":"https://github.com/Ahmetshbzz/sdk/issues"},"author":{"name":"Ahmet Şahbazoğlu","email":"ahmetshbz1@outlook.com","url":"https://www.velyo.xyz"},"license":"MIT","homepage":"https://github.com/Ahmetshbzz/sdk/tree/main/packages/http","keywords":["zap","http","fetch","request","client","lightning","fast","typescript","universal","undici","performance","deduplication","coalescing","retry","cache","enterprise","production","high-performance","request-dedup","http-client"],"repository":{"type":"git","url":"git+https://github.com/Ahmetshbzz/sdk.git","directory":"packages/http"},"description":"⚡ Lightning-fast HTTP client - 145% faster than fetch with enterprise features: deduplication, retry, caching, security","maintainers":[{"name":"ahmetshbz","email":"ahmetshbz@zohomail.eu"}],"readme":"# @ahmetshbz/zap\n\n🚀 **Enterprise-grade HTTP Client** - Production-ready, type-safe, universal HTTP client for modern JavaScript/TypeScript applications.\n\n## Features\n\n### 🔒 Security\n\n- **Request Signing** - AWS Signature v4 style request signing\n- **OAuth 2.0 / OIDC** - Token management with auto-refresh and PKCE support\n- **TLS/SSL** - Certificate pinning and validation\n- **SSRF Protection** - Prevent Server-Side Request Forgery attacks\n- **Secrets Management** - Secure credential storage with encryption\n\n### ⚡ Performance\n\n- **Multi-layer Caching** - L1 (memory) + L2 (Redis) with LRU/LFU/ARC algorithms\n- **Request Deduplication** - Coalesce identical concurrent requests\n- **Compression** - Automatic gzip, brotli, deflate support\n- **Streaming** - Upload/download streaming with progress tracking\n- **Resume Support** - Resume interrupted downloads\n\n### 🛡️ Resilience\n\n- **Advanced Retry** - Exponential backoff with decorrelated jitter\n- **Circuit Breaker** - Prevent cascading failures\n- **Rate Limiting** - Token bucket, sliding window algorithms\n- **Timeout Management** - Per-request and global timeouts\n- **Bulkhead Pattern** - Isolate failures\n\n## Installation\n\n```bash\nbun add @ahmetshbz/zap\n```\n\n## Quick Start\n\n```typescript\nimport { HttpClient } from '@ahmetshbz/zap';\n\nconst client = new HttpClient({\n  baseURL: 'https://api.example.com',\n  timeout: 5000,\n});\n\n// Simple requests\nconst data = await client.get('/users/1');\nconst created = await client.post('/users', { name: 'John' });\n```\n\n## Configuration Examples\n\n### Security\n\n```typescript\nconst client = new HttpClient({\n  baseURL: 'https://api.example.com',\n  securityConfig: {\n    signing: {\n      enabled: true,\n      algorithm: 'AWS4-HMAC-SHA256',\n      accessKeyId: process.env.AWS_ACCESS_KEY_ID!,\n      secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,\n    },\n    oauth: {\n      enabled: true,\n      clientId: process.env.OAUTH_CLIENT_ID!,\n      clientSecret: process.env.OAUTH_CLIENT_SECRET!,\n      tokenUrl: 'https://auth.example.com/token',\n    },\n  },\n});\n```\n\n### Performance\n\n```typescript\nconst client = new HttpClient({\n  cacheConfig: {\n    enabled: true,\n    algorithm: 'lru',\n    maxSize: 1000,\n    defaultTtl: 60000,\n  },\n  compressionConfig: {\n    enabled: true,\n    preferredAlgorithms: ['br', 'gzip'],\n  },\n  streamConfig: {\n    enableUploadProgress: true,\n    enableDownloadProgress: true,\n  },\n});\n```\n\n### Resilience\n\n```typescript\nconst client = new HttpClient({\n  resilienceConfig: {\n    retry: {\n      enabled: true,\n      maxAttempts: 3,\n      jitterType: 'decorrelated',\n    },\n    circuitBreaker: {\n      enabled: true,\n      failureThreshold: 5,\n    },\n    rateLimit: {\n      enabled: true,\n      maxRequests: 100,\n      windowMs: 60000,\n    },\n  },\n});\n```\n\n## Advanced Features\n\n### Progress Tracking\n\n```typescript\nawait client.post('/upload', fileData, {\n  onUploadProgress: (progress) => {\n    console.log(`${progress.percentage}% - ${progress.rate} B/s`);\n  },\n});\n```\n\n### Interceptors\n\n```typescript\nconst client = new HttpClient({\n  onRequest: async (ctx) => {\n    ctx.options.headers = {\n      ...ctx.options.headers,\n      Authorization: `Bearer ${await getToken()}`,\n    };\n  },\n  onResponse: async (ctx) => {\n    return { ...ctx.response._data, timestamp: Date.now() };\n  },\n});\n```\n\n### Cache Management\n\n```typescript\nimport { MultiLayerCache } from '@ahmetshbz/zap';\n\nconst cache = new MultiLayerCache(l1Config, l2Config);\nawait cache.set('key', data, { ttl: 60000, tags: ['users'] });\nawait cache.invalidateByTags(['users']);\n```\n\n## TypeScript\n\nFully typed with TypeScript 5.0+:\n\n```typescript\ninterface User {\n  id: number;\n  name: string;\n}\n\nconst user = await client.get<User>('/users/1');\n// user is typed as User\n```\n\n## Runtime Support\n\n✅ Node.js 18+ | ✅ Bun | ✅ Deno | ✅ Browser | ✅ Edge Runtime\n\n## License\n\nMIT\n","readmeFilename":"README.old.md"}