Installation
Requirements
- Node.js 18 or higher
- TypeScript 4.7+ (optional, for type definitions)
Quick Start
Configuration
Initialize the Client
Environment Variables
We recommend storing your API key in environment variables:Accessing Response Headers
Use.withResponse() to access the full HTTP response including headers (useful for rate limiting):
