Bidaiondo Client
@guachos/bidaiondo-clientnpmDeveloper ToolsTypeScriptv0.2.1MIT
A hybrid (ESM + CJS) Node.js client for the Bidaiondo API. Fully typed, lightweight, and ready to drop into both ESM and CommonJS projects.
Published Jan 2023
Updated Jun 2023
Installation
$
npm install @guachos/bidaiondo-client$
yarn add @guachos/bidaiondo-clientWhy it exists
A typed, dual-format client for the Bidaiondo API. Built to solve the common frustration of API clients that work in CJS but break in ESM projects (or vice versa). Ships both formats from a single package so it works regardless of your module system.
Features
🔀Hybrid Module Format
Ships `dist/esm` and `dist/cjs` in the same package with the correct `exports` map. Node.js, bundlers, and type checkers all resolve the right format automatically.
🔒Fully Typed API
Every endpoint, request body, and response shape is typed. Rename a field in the API contract and TypeScript will tell you everywhere it breaks.
Highlights
- Dual ESM + CJS build — works in both `import` and `require` contexts
- Full TypeScript types for all API resources and responses
- Zero-dependency except for the HTTP layer