@output.ai/http
v0.1.0
Published
Framework abstraction to make HTTP calls with tracing
Readme
@output.ai/http
TypeScript HTTP client that wraps ky with Output SDK tracing hooks.
Installation
npm install @output.ai/httpQuick Start
import { httpClient } from '@output.ai/http';
const client = httpClient({
prefixUrl: 'https://api.example.com'
});
const response = await client.get('users/1');
const userData = await response.json();Environment Variables
LOG_HTTP_VERBOSE=true- Enables detailed request/response logging including headers and body
