ak-fetch
Version:
Production-ready HTTP client for bulk operations with connection pooling, exponential backoff, streaming, and comprehensive error handling
103 lines (102 loc) • 2.9 kB
JSON
{
"name": "ak-fetch",
"version": "2.0.12",
"type": "module",
"description": "Production-ready HTTP client for bulk operations with connection pooling, exponential backoff, streaming, and comprehensive error handling",
"main": "index.js",
"module": "index.js",
"types": "types.d.ts",
"exports": {
".": {
"types": "./types.d.ts",
"import": "./index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"files": [
"index.js",
"types.d.ts",
"lib/",
"cli.js",
"README.md",
"dist/index.cjs"
],
"scripts": {
"test": "vitest run",
"test:unit": "vitest run test/unit",
"test:integration": "vitest run test/integration",
"test:coverage": "vitest run --coverage && open ./coverage/index.html",
"test:types": "tsc --noEmit test-types.ts",
"test:types:consumer": "tsc --project tsconfig.consumer.json --noEmit",
"typecheck": "npm run test:types:consumer && echo '✅ Consumer type definitions are valid'",
"build:cjs": "esbuild index.js --bundle --platform=node --format=cjs --outfile=dist/index.cjs --external:ak-tools --external:yargs --external:undici --external:run-queue --external:dotenv --external:form-data --external:tough-cookie --external:readline --external:querystring --external:murmurhash --external:json-stable-stringify --external:fetch-retry --external:dayjs",
"build": "npm run build:cjs",
"prepare": "npm run build",
"prune": "rm -rf logs/* && rm -rf coverage/* && rm -rf benchmarks/results/* && rm -rf dist/*",
"scratch": "nodemon scratch.mjs",
"bench:100k": "DATASET_SIZE=100k node benchmarks/run-all.js",
"bench:1m": "DATASET_SIZE=1m node benchmarks/run-all.js",
"submit": "npm publish --access public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ak--47/ak-fetch.git"
},
"bin": {
"ak-fetch": "./cli.js"
},
"author": "AK",
"license": "ISC",
"bugs": {
"url": "https://github.com/ak--47/ak-fetch/issues"
},
"homepage": "https://github.com/ak--47/ak-fetch#readme",
"keywords": [
"fetch",
"http",
"bulk",
"batch",
"api",
"client",
"request",
"retry",
"streaming",
"performance",
"connection-pooling",
"exponential-backoff",
"multipart",
"upload",
"concurrent"
],
"engines": {
"node": ">=16"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"esbuild": "^0.25.8",
"nock": "^13.3.8",
"nodemon": "^3.1.0",
"supertest": "^6.3.4",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vitest": "^3.2.4"
},
"dependencies": {
"ak-tools": "^1.0.68",
"dayjs": "^1.11.10",
"dotenv": "^16.4.5",
"fetch-retry": "^6.0.0",
"form-data": "^4.0.0",
"json-stable-stringify": "^1.1.1",
"murmurhash": "^2.0.1",
"querystring": "^0.2.1",
"readline": "^1.3.0",
"run-queue": "^2.0.1",
"tough-cookie": "^4.1.3",
"undici": "^6.6.0",
"yargs": "^17.7.2"
}
}