{
  "name": "urllib",
  "version": "3.22.1",
  "publishConfig": {
    "tag": "latest"
  },
  "description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more. Base undici fetch API.",
  "keywords": [
    "urllib",
    "http",
    "urlopen",
    "curl",
    "wget",
    "request",
    "https",
    "undici",
    "fetch"
  ],
  "author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)",
  "homepage": "https://github.com/node-modules/urllib",
  "repository": {
    "type": "git",
    "url": "git://github.com/node-modules/urllib.git"
  },
  "scripts": {
    "lint": "eslint src test --ext .ts --cache",
    "prebuild": "npm run clean",
    "build": "tsc --version && tshy && tshy-after && npm run build:version",
    "postbuild": "rm -rf *.tsbuildinfo",
    "build:version": "node ./scripts/replace_urllib_version.js",
    "build:cjs:test": "cd test/cjs && rm -rf node_modules && npm link ../.. && node index.js",
    "build:esm:test": "cd test/esm && rm -rf node_modules && npm link ../.. && node index.js",
    "build:mts:test": "cd test/mts && rm -rf node_modules && npm link ../.. && tsc",
    "build:test": "npm run build && npm run build:cjs:test && npm run build:esm:test && npm run build:mts:test && npm run test-tsc",
    "test-tsc": "npm run test-tsc:cjs:es2021 && npm run test-tsc:cjs && npm run test-tsc:esm",
    "test-tsc:cjs": "cd test/fixtures/ts && rm -rf node_modules && npm link ../../.. && npm run build",
    "test-tsc:cjs:es2021": "cd test/fixtures/ts-cjs-es2021 && rm -rf node_modules && npm link ../../.. && npm run build",
    "test-tsc:esm": "cd test/fixtures/ts-esm && rm -rf node_modules && npm link ../../.. && npm run build",
    "test": "npm run lint && vitest run",
    "test-keepalive": "cross-env TEST_KEEPALIVE_COUNT=50 vitest run --test-timeout 180000 keep-alive-header.test.ts",
    "cov": "vitest run --coverage",
    "preci": "node scripts/pre_test.js",
    "ci": "npm run lint && npm run cov && node scripts/build_test.js",
    "contributor": "git-contributor",
    "clean": "rm -rf dist",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "default-user-agent": "^1.0.0",
    "digest-header": "^1.0.0",
    "form-data-encoder": "^1.7.2",
    "formdata-node": "^4.3.3",
    "formstream": "^1.1.1",
    "mime-types": "^2.1.35",
    "pump": "^3.0.0",
    "qs": "^6.11.2",
    "type-fest": "^4.3.1",
    "undici": "^5.22.1",
    "ylru": "^1.3.2"
  },
  "devDependencies": {
    "@tsconfig/node18": "^18.2.1",
    "@tsconfig/strictest": "^2.0.2",
    "@types/busboy": "^1.5.0",
    "@types/default-user-agent": "^1.0.0",
    "@types/mime-types": "^2.1.1",
    "@types/node": "^20.2.1",
    "@types/pump": "^1.1.1",
    "@types/qs": "^6.9.7",
    "@types/selfsigned": "^2.0.1",
    "@types/tar-stream": "^2.2.2",
    "@vitest/coverage-v8": "^1.0.1",
    "busboy": "^1.6.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.25.0",
    "eslint-config-egg": "^12.1.0",
    "git-contributor": "^2.0.0",
    "iconv-lite": "^0.6.3",
    "proxy": "^1.0.2",
    "selfsigned": "^2.0.1",
    "tar-stream": "^2.2.0",
    "tshy": "^1.0.0",
    "tshy-after": "^1.0.0",
    "typescript": "^5.0.4",
    "vitest": "^1.0.1"
  },
  "engines": {
    "node": ">= 14.19.3"
  },
  "license": "MIT",
  "type": "module",
  "tshy": {
    "exports": {
      ".": "./src/index.ts",
      "./package.json": "./package.json"
    }
  },
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.js"
      }
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "src"
  ],
  "types": "./dist/commonjs/index.d.ts",
  "main": "./dist/commonjs/index.js"
}
