@waiting/fetch
Version:
HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js
84 lines (83 loc) • 2.19 kB
JSON
{
"name": "@waiting/fetch",
"author": "waiting",
"version": "32.4.0",
"description": "HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js",
"keywords": [
"http",
"fetch",
"nodejs",
"Node.js",
"typescript",
"AbortController",
"303"
],
"type": "module",
"bin": {},
"types": "dist/index.d.ts",
"imports": {
"#package.json": "./package.json",
"##/*": "./src/*",
"#@/*": "./test/*"
},
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"bugs": {
"url": "https://github.com/waitingsong/fetch/issues"
},
"homepage": "https://github.com/waitingsong/fetch#readme",
"repository": {
"type": "git",
"url": "git@github.com:waitingsong/fetch"
},
"license": "MIT",
"dependencies": {
"@waiting/shared-core": "^23.25.3",
"qs": "^6.13.1",
"undici": "^7.1.0"
},
"devDependencies": {
"@opentelemetry/api": "1",
"@types/qs": "^6.9.17"
},
"engines": {
"node": ">=18.12.0"
},
"files": [
"README.*.md",
"Dockerfile",
"npm-shrinkwrap.json",
"tsconfig.json",
"tsconfig.base.json",
"asset",
"bin",
"database",
"dist",
"src",
"!**/*.spec.*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run tsc",
"build:unit": "tsc -p test/tsconfig.json",
"clean": "npm run clean:lock && npm run clean:dist && npm run clean:log",
"clean:cache": "rm -rf .eslintcache .tsbuildinfo",
"clean:dist": "npm run clean:cache && rm -rf dist/*",
"clean:lock": "rm -f package-lock.json",
"clean:log": "rm -rf ./logs ./run",
"cov": "c8 --all npm run test",
"lint": "eslint --fix --cache src test",
"lint:nofix": "eslint --cache src test",
"postbuild": "tsc-alias && npm run rp",
"pretest": "npm run build:unit",
"rp": "tsx bin-hashbang.js",
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha",
"test:deb": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha --parallel=false",
"tsc": "tsc -p tsconfig.json"
},
"gitHead": "4943d0445df7ea95a9ad8fa1d66119d3913cf891"
}