Ecosystem
The t-req ecosystem provides tools for working with .http files across different contexts—from programmatic library usage to command-line tools and interactive interfaces.
Available Packages
Section titled “Available Packages”@t-req/core
Section titled “@t-req/core”This documentation covers @t-req/core, the foundational library for parsing, interpolating, and executing HTTP requests.
npm install @t-req/coreUse @t-req/core when you need:
- Programmatic control over HTTP request execution
- Integration into your TypeScript/JavaScript applications
- Building custom tooling on top of
.httpfile support - API testing in your test suites
Get started with @t-req/core →
@t-req/ui
Section titled “@t-req/ui”A companion package providing UI components for displaying HTTP requests and responses. Used internally by other t-req tools.
npm install @t-req/uiUpcoming Tools
Section titled “Upcoming Tools”The following tools are planned for the t-req ecosystem:
t-req CLI
Section titled “t-req CLI”Coming soon — Run .http files directly from the command line.
# Execute a requestt-req run ./api/users.http
# Execute with variablest-req run ./api/user.http --var userId=123t-req TUI
Section titled “t-req TUI”Coming soon — An interactive terminal interface for exploring and running requests.
Features:
- Browse
.httpfiles in your project - Execute requests interactively
- View response history
- Manage variables and environments
t-req Agent
Section titled “t-req Agent”Coming soon — AI-powered HTTP request assistant.
Features:
- Generate
.httpfiles from natural language - Debug failing requests
- Suggest optimizations
Monorepo Structure
Section titled “Monorepo Structure”The t-req project is organized as a monorepo:
t-req/├── packages/│ ├── core/ # @t-req/core - HTTP client library│ └── ui/ # @t-req/ui - UI components├── apps/│ └── webdocs/ # Documentation site (this site)└── examples/ # Example projectsSource code: github.com/tensorix-labs/t-req