openai-fetch
JSON →A minimal and opinionated OpenAI client powered by native fetch (ESM-only, ~14kb). Version 3.4.2 requires Node 18+ or any runtime with built-in fetch. It supports only chat, completions, embeddings, moderations, and TTS endpoints, offering a lean alternative to the official `openai` package (~152kb) that patches fetch. Ships TypeScript types and is actively maintained on GitHub.
Resources
packageopenai-fetch ↗