Base API Client
JSON →Base API client is an abstract class built on top of axios (v0.27.x dependency) that simplifies creating typed API clients in Node.js (>=10) and browser environments. It provides standard HTTP methods (get, post, put, patch, delete), automatic URL resolution relative to a base URL, configurable timeout (using ms format), optional logging via a logger interface, and support for custom headers and basic auth. The package is actively maintained with frequent releases, includes TypeScript definitions, and offers a clean inheritance model for extending into specific API wrappers (e.g., Telegram, CRMs). It is well-tested across Node LTS versions on multiple platforms and has a small bundle size (~5KB gzipped).
Resources
packagebase-api-client ↗