@miragon/client-lexoffice
v0.1.0
Published
Hand-written, typed client for the [lexoffice](https://www.lexoffice.de) API. Server-side only — uses Node's `Buffer` for multipart uploads.
Readme
@miragon/client-lexoffice
Hand-written, typed client for the lexoffice API.
Server-side only — uses Node's Buffer for multipart uploads.
npm install @miragon/client-lexofficeimport { createLexofficeClient } from "@miragon/client-lexoffice"
const client = createLexofficeClient({
apiKey: process.env.LEXOFFICE_API_KEY!,
// baseUrl defaults to https://api.lexoffice.io
})createLexofficeClient returns a Client with get/post/put/del/
download/upload helpers (Bearer auth, retry-on-429, 30s timeout). Uses
globalThis.fetch.
