got
Version:
Human-friendly and powerful HTTP request library for Node.js
155 lines (154 loc) • 3.58 kB
JSON
{
"name": "got",
"version": "15.0.2",
"description": "Human-friendly and powerful HTTP request library for Node.js",
"license": "MIT",
"repository": "sindresorhus/got",
"funding": "https://github.com/sindresorhus/got?sponsor=1",
"type": "module",
"exports": {
"types": "./dist/source/index.d.ts",
"default": "./dist/source/index.js"
},
"sideEffects": false,
"engines": {
"node": ">=22"
},
"scripts": {
"test": "xo && tsc --noEmit && NODE_OPTIONS='--import=tsx/esm' ava",
"test:coverage": "xo && tsc --noEmit && NODE_OPTIONS='--import=tsx/esm' c8 ava",
"release": "np",
"build": "del-cli dist && tsc",
"prepare": "npm run build"
},
"files": [
"dist/source"
],
"keywords": [
"http",
"https",
"http2",
"get",
"got",
"url",
"uri",
"request",
"simple",
"curl",
"wget",
"fetch",
"net",
"network",
"gzip",
"brotli",
"zstd",
"zstandard",
"requests",
"human-friendly",
"axios",
"superagent",
"node-fetch",
"ky"
],
"dependencies": {
"@sindresorhus/is": "^7.2.0",
"byte-counter": "^0.1.0",
"cacheable-lookup": "^7.0.0",
"cacheable-request": "^13.0.18",
"chunk-data": "^0.1.0",
"decompress-response": "^10.0.0",
"http2-wrapper": "^2.2.1",
"keyv": "^5.6.0",
"lowercase-keys": "^4.0.1",
"responselike": "^4.0.2",
"type-fest": "^5.4.4",
"uint8array-extras": "^1.5.0"
},
"devDependencies": {
"@hapi/bourne": "^3.0.0",
"@sindresorhus/tsconfig": "^8.1.0",
"@sinonjs/fake-timers": "^15.1.0",
"@types/benchmark": "^2.1.5",
"@types/express": "^5.0.6",
"@types/node": "^25.3.0",
"@types/pem": "^1.14.4",
"@types/readable-stream": "^4.0.23",
"@types/request": "^2.48.13",
"@types/sinon": "^21.0.0",
"@types/sinonjs__fake-timers": "^15.0.1",
"ava": "^6.4.1",
"axios": "^1.13.5",
"benchmark": "^2.1.4",
"bluebird": "^3.7.2",
"body-parser": "^2.2.2",
"c8": "^10.1.3",
"create-cert": "^1.0.6",
"create-test-server": "^3.0.1",
"del-cli": "^7.0.0",
"delay": "^7.0.0",
"expect-type": "^1.3.0",
"express": "^5.2.1",
"get-stream": "^9.0.1",
"node-fetch": "^3.3.2",
"np": "^11.0.2",
"p-event": "^7.1.0",
"pem": "^1.14.8",
"pify": "^6.1.0",
"quick-lru": "^7.3.0",
"readable-stream": "^4.7.0",
"request": "^2.88.2",
"sinon": "^21.0.1",
"slow-stream": "0.0.4",
"tempy": "^3.2.0",
"then-busboy": "^5.2.1",
"tough-cookie": "^6.0.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"xo": "^1.2.3"
},
"ava": {
"files": [
"test/*",
"!test/*.types.ts"
],
"timeout": "10m",
"extensions": {
"ts": "module"
},
"workerThreads": false
},
"c8": {
"reporter": [
"text",
"html",
"lcov"
],
"exclude": [
"test/**",
"dist/**"
]
},
"xo": {
"ignores": [
"documentation/examples/*"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"n/no-deprecated-api": "off",
"@typescript-eslint/no-implicit-any-catch": "off",
"ava/assertion-arguments": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/promise-function-async": "off",
"no-lone-blocks": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/prefer-event-target": "off"
}
},
"runkitExampleFilename": "./documentation/examples/runkit-example.js"
}