{"name":"@actions/http-client","version":"3.0.2","keywords":["github","actions","http"],"license":"MIT","_id":"@actions/http-client@3.0.2","maintainers":[{"name":"chrispat","email":"chrispat@github.com"},{"name":"bryanmacfarlane","email":"bryanmacf@gmail.com"},{"name":"thboop","email":"thboop@github.com"},{"name":"konradpabjan","email":"konradpabjan@github.com"},{"name":"cschleiden","email":"cschleiden@outlook.com"},{"name":"bdehamer","email":"brian@dehamer.com"},{"name":"joshmgross","email":"joshmgross@github.com"}],"homepage":"https://github.com/actions/toolkit/tree/main/packages/http-client","bugs":{"url":"https://github.com/actions/toolkit/issues"},"dist":{"shasum":"3db9c83af9d29d51ac8c30b45bc17f7014beb1b2","tarball":"http://registry-npm.ywwl.com/@actions/http-client/download/@actions/http-client-3.0.2.tgz","fileCount":15,"integrity":"sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA==","signatures":[{"sig":"MEQCID2i8dcQA24iWDftUf4ddHNhjls5E5ABcUxDLjBZ0TA3AiByC3VxB279vZS+ljTUhG5QysHmXKFOMCeEtONfStHqHQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@actions%2fhttp-client@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78134,"size":18485,"noattachment":false,"key":"/@actions/http-client/-/@actions/http-client-3.0.2.tgz"},"main":"lib/index.js","_from":"file:actions-http-client-3.0.2.tgz","types":"lib/index.d.ts","scripts":{"tsc":"tsc","test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","format":"prettier --write **/*.ts","format-check":"prettier --check **/*.ts","audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4907f28b-6b9e-4ba8-8b8b-7a9792e81b22"}},"_resolved":"/Users/runner/work/toolkit/toolkit/actions-http-client-3.0.2.tgz","overrides":{"uri-js":"npm:uri-js-replace@^1.0.1"},"_integrity":"sha512-JP38FYYpyqvUsz+Igqlc/JG6YO9PaKuvqjM3iGvaLqFnJ7TFmcLyy2IDrY0bI0qCQug8E9K+elv5ZNfw62ZJzA==","repository":{"url":"git+https://github.com/actions/toolkit.git","type":"git","directory":"packages/http-client"},"_npmVersion":"11.6.2","description":"Actions Http Client","directories":{"lib":"lib","test":"__tests__"},"_nodeVersion":"24.13.0","dependencies":{"tunnel":"^0.0.6","undici":"^6.23.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"proxy":"^2.1.1","@types/node":"24.1.0","@types/proxy":"^1.0.1","@types/tunnel":"0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/http-client_3.0.2_1769525977333_0.8067037022337296","host":"s3://npm-registry-packages-npm-production"},"readme":"# `@actions/http-client`\n\nA lightweight HTTP client optimized for building actions.\n\n## Features\n\n  - HTTP client with TypeScript generics and async/await/Promises\n  - Typings included!\n  - [Proxy support](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners#using-a-proxy-server-with-self-hosted-runners) just works with actions and the runner\n  - Targets ES2019 (runner runs actions with node 24+).  Only supported on node 20+.\n  - Basic, Bearer and PAT Support out of the box.  Extensible handlers for others.\n  - Redirects supported\n\nFeatures and releases [here](./RELEASES.md)\n\n## Install\n\n```\nnpm install @actions/http-client --save\n```\n\n## Samples\n\nSee the [tests](./__tests__) for detailed examples.\n\n## Errors\n\n### HTTP\n\nThe HTTP client does not throw unless truly exceptional.\n\n* A request that successfully executes resulting in a 404, 500 etc... will return a response object with a status code and a body.\n* Redirects (3xx) will be followed by default.\n\nSee the [tests](./__tests__) for detailed examples.\n\n## Debugging\n\nTo enable detailed console logging of all HTTP requests and responses, set the NODE_DEBUG environment varible:\n\n```shell\nexport NODE_DEBUG=http\n```\n\n## Node support\n\nThe http-client is built using Node 24. It may work on previous node LTS versions but it's tested and officially supported on Node 20+.\n\n## Support and Versioning\n\nWe follow semver and will hold compatibility between major versions and increment the minor version with new features and capabilities (while holding compat).\n\n## Contributing\n\nWe welcome PRs.  Please create an issue and if applicable, a design before proceeding with code.\n\nonce:\n\n```\nnpm install\n```\n\nTo build:\n\n```\nnpm run build\n```\n\nTo run all tests:\n\n```\nnpm test\n```\n","publish_time":1769525977474,"_cnpm_publish_time":1769525977474,"dist-tags":{"latest":"4.0.1"}}