UNPKG

3.53 kBJSONView Raw
1{
2 "name": "got",
3 "version": "12.5.0",
4 "description": "Human-friendly and powerful HTTP request library for Node.js",
5 "license": "MIT",
6 "repository": "sindresorhus/got",
7 "funding": "https://github.com/sindresorhus/got?sponsor=1",
8 "type": "module",
9 "exports": "./dist/source/index.js",
10 "types": "./dist/source/index.d.ts",
11 "engines": {
12 "node": ">=14.16"
13 },
14 "scripts": {
15 "test": "xo && tsc --noEmit && ava",
16 "release": "np",
17 "build": "del-cli dist && tsc",
18 "prepare": "npm run build"
19 },
20 "files": [
21 "dist/source"
22 ],
23 "keywords": [
24 "http",
25 "https",
26 "http2",
27 "get",
28 "got",
29 "url",
30 "uri",
31 "request",
32 "simple",
33 "curl",
34 "wget",
35 "fetch",
36 "net",
37 "network",
38 "gzip",
39 "brotli",
40 "requests",
41 "human-friendly",
42 "axios",
43 "superagent",
44 "node-fetch",
45 "ky"
46 ],
47 "dependencies": {
48 "@sindresorhus/is": "^5.2.0",
49 "@szmarczak/http-timer": "^5.0.1",
50 "cacheable-lookup": "^6.0.4",
51 "cacheable-request": "^10.1.2",
52 "decompress-response": "^6.0.0",
53 "form-data-encoder": "^2.1.2",
54 "get-stream": "^6.0.1",
55 "http2-wrapper": "^2.1.10",
56 "lowercase-keys": "^3.0.0",
57 "p-cancelable": "^3.0.0",
58 "responselike": "^3.0.0"
59 },
60 "devDependencies": {
61 "@hapi/bourne": "^3.0.0",
62 "@sindresorhus/tsconfig": "^3.0.1",
63 "@sinonjs/fake-timers": "^9.1.1",
64 "@types/benchmark": "^2.1.2",
65 "@types/express": "^4.17.13",
66 "@types/node": "^18.7.13",
67 "@types/pem": "^1.9.6",
68 "@types/pify": "^5.0.1",
69 "@types/readable-stream": "^2.3.13",
70 "@types/request": "^2.48.8",
71 "@types/sinon": "^10.0.11",
72 "@types/sinonjs__fake-timers": "^8.1.1",
73 "@types/tough-cookie": "^4.0.1",
74 "ava": "^4.3.3",
75 "axios": "^0.27.2",
76 "benchmark": "^2.1.4",
77 "bluebird": "^3.7.2",
78 "body-parser": "^1.19.2",
79 "create-cert": "^1.0.6",
80 "create-test-server": "^3.0.1",
81 "del-cli": "^5.0.0",
82 "delay": "^5.0.0",
83 "express": "^4.17.3",
84 "form-data": "^4.0.0",
85 "formdata-node": "^5.0.0",
86 "nock": "^13.2.4",
87 "node-fetch": "^3.2.3",
88 "np": "^7.6.0",
89 "nyc": "^15.1.0",
90 "p-event": "^5.0.1",
91 "pem": "^1.14.6",
92 "pify": "^6.0.0",
93 "readable-stream": "^4.0.0",
94 "request": "^2.88.2",
95 "sinon": "^14.0.0",
96 "slow-stream": "0.0.4",
97 "tempy": "^3.0.0",
98 "then-busboy": "^5.2.1",
99 "to-readable-stream": "^3.0.0",
100 "tough-cookie": "4.0.0",
101 "ts-node": "^10.8.2",
102 "type-fest": "^2.19.0",
103 "typescript": "~4.8.2",
104 "xo": "^0.52.2"
105 },
106 "sideEffects": false,
107 "ava": {
108 "files": [
109 "test/*"
110 ],
111 "timeout": "1m",
112 "extensions": {
113 "ts": "module"
114 },
115 "nodeArguments": [
116 "--loader=ts-node/esm"
117 ]
118 },
119 "nyc": {
120 "reporter": [
121 "text",
122 "html",
123 "lcov"
124 ],
125 "extension": [
126 ".ts"
127 ],
128 "exclude": [
129 "**/test/**"
130 ]
131 },
132 "xo": {
133 "ignores": [
134 "documentation/examples/*"
135 ],
136 "rules": {
137 "@typescript-eslint/no-empty-function": "off",
138 "n/no-deprecated-api": "off",
139 "n/prefer-global/url": "off",
140 "n/prefer-global/url-search-params": "off",
141 "@typescript-eslint/no-implicit-any-catch": "off",
142 "unicorn/prefer-node-protocol": "off",
143 "ava/assertion-arguments": "off",
144 "@typescript-eslint/no-unsafe-member-access": "off",
145 "@typescript-eslint/no-unsafe-return": "off",
146 "@typescript-eslint/no-unsafe-assignment": "off",
147 "@typescript-eslint/no-unsafe-call": "off",
148 "@typescript-eslint/await-thenable": "off",
149 "@typescript-eslint/no-redundant-type-constituents": "off",
150 "no-lone-blocks": "off",
151 "unicorn/no-await-expression-member": "off"
152 }
153 },
154 "runkitExampleFilename": "./documentation/examples/runkit-example.js"
155}