{"id":24857317,"url":"https://github.com/stacksjs/httx","last_synced_at":"2025-06-11T12:06:35.734Z","repository":{"id":273948220,"uuid":"921377713","full_name":"stacksjs/httx","owner":"stacksjs","description":"🤖 A modern command-line \u0026 library HTTP client, \"for the API era.\" Like httpie, written in \u0026 for TypeScript.","archived":false,"fork":false,"pushed_at":"2025-05-28T23:35:31.000Z","size":1996,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T14:12:13.728Z","etag":null,"topics":["api-client","cli","httpie","library","typescript"],"latest_commit_sha":null,"homepage":"https://httx.netflix.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stacksjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["stacksjs","chrisbbreuer"],"open_collective":"stacksjs"}},"created_at":"2025-01-23T20:52:29.000Z","updated_at":"2025-05-13T14:15:00.000Z","dependencies_parsed_at":"2025-02-28T22:18:41.899Z","dependency_job_id":"7eace7e4-0ffc-442d-9a7d-cc7682258a20","html_url":"https://github.com/stacksjs/httx","commit_stats":null,"previous_names":["stacksjs/httpsx","stacksjs/httx"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fhttx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fhttx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fhttx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fhttx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stacksjs","download_url":"https://codeload.github.com/stacksjs/httx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stacksjs%2Fhttx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":257282246,"owners_count":22520291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","cli","httpie","library","typescript"],"created_at":"2025-01-31T17:52:54.482Z","updated_at":"2025-06-11T12:06:35.713Z","avatar_url":"https://github.com/stacksjs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/stacksjs","https://github.com/sponsors/chrisbbreuer","https://opencollective.com/stacksjs"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/stacksjs/httx/blob/main/.github/art/cover.jpg?raw=true\" alt=\"Social Card of this repo\"\u003e\u003c/p\u003e\n\n[![npm version][npm-version-src]][npm-version-href]\n[![GitHub Actions][github-actions-src]][github-actions-href]\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\u003c!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] --\u003e\n\u003c!-- [![Codecov][codecov-src]][codecov-href] --\u003e\n\n# httx\n\n\u003e httx is a simple, fast, lightweight and user-friendly API client. Whether you are working with a CLI, a library or a server, httx is a perfect choice for making HTTP requests.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/stacksjs/httx/blob/main/.github/art/screenshot.png?raw=true\" alt=\"Screenshot of httx\"\u003e\u003c/p\u003e\n\n## Features\n\n- 🌐 **API Requests**: _easily make API requests in a familiar way_\n- 🤖 **CLI**: _a cross-platform CLI_\n- 📚 **Library**: _use httx as a library in your project_\n- ⚡ **Performant**: _extremely fast and efficient_\n- 🪶 **Lightweight**: _built on web standards, lightweight \u0026 without dependencies_\n- 🐶 **User-Friendly**: _user-friendly, simple, powerful API_\n- 💪🏽 **Type-Safe**: _strongly-typed, including type-safe errors_\n\n## Install\n\n```bash\nbun install -d @stacksjs/httx\n```\n\n\u003c!-- _Alternatively, you can install:_\n\n```bash\nbrew install httx # wip\npkgx install httx # wip\n``` --\u003e\n\n\u003e [!NOTE]\n\u003e We are trying to release under the `httx` package name, which is currently abandoned. Please @npmjs, we would love to!🙏🏽\n\n## Get Started\n\nMaking requests is simple. There are two ways of getting started: _as a library or as a CLI._\n\n### Library\n\nGiven the npm package is installed:\n\n```ts\nimport type { HttxConfig } from 'httx'\n// import { ... } from 'httx'\n\n// ...\n```\n\nIn case you are trying to start multiple proxies, you may use this configuration:\n\n### CLI\n\n```bash\nhttx get api.example.com/users\nhttx post api.example.com/users name=john email=john@example.com -j\nhttx get api.example.com/files file@./data.txt -m\nhttx get api.example.com/secure -a username:password\n\nhttx --help\nhttx --version\n```\n\n## Configuration\n\nThe Reverse Proxy can be configured using a `httx.config.ts` _(or `httx.config.js`)_ file and it will be automatically loaded when running the `reverse-proxy` command.\n\n```ts\n// httx.config.{ts,js}\nimport type { HttxOptions } from '@stacksjs/httx'\nimport os from 'node:os'\nimport path from 'node:path'\n\nconst config: HttxOptions = {\n  verbose: false,\n}\n\nexport default config\n```\n\n_Then run:_\n\n```bash\n./httx\n```\n\nTo learn more, head over to the [documentation](https://httx.netlify.app/).\n\n## Testing\n\n```bash\nbun test\n```\n\n## Changelog\n\nPlease see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.\n\n## Contributing\n\nPlease review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.\n\n## Community\n\nFor help, discussion about best practices, or any other conversation that would benefit from being searchable:\n\n[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)\n\nFor casual chit-chat with others using this package:\n\n[Join the Stacks Discord Server](https://discord.gg/stacksjs)\n\n## Postcardware\n\n“Software that is free, but hopes for a postcard.” We love receiving postcards from around the world showing where `httx` is being used! We showcase them on our website too.\n\nOur address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎\n\n## Sponsors\n\nWe would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.\n\n- [JetBrains](https://www.jetbrains.com/)\n- [The Solana Foundation](https://solana.com/)\n\n## Credits\n\n- [httpie](https://httpie.io/)\n- [Chris Breuer](https://github.com/chrisbbreuer)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.\n\nMade with 💙\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@stacksjs/httx?style=flat-square\n[npm-version-href]: https://npmjs.com/package/@stacksjs/httx\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/stacksjs/httx/ci.yml?style=flat-square\u0026branch=main\n[github-actions-href]: https://github.com/stacksjs/httx/actions?query=workflow%3Aci\n\n\u003c!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/httx/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/stacksjs/httx --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacksjs%2Fhttx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstacksjs%2Fhttx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstacksjs%2Fhttx/lists"}