@acme/sdk
The official SDK for calling Acme from JavaScript and TypeScript. Generated from the same OpenAPI spec that powers our internal clients — every method is fully typed end-to-end.
Install
Quick example
Surface area
client(opts)— root client factoryacme.customers.{ list, create, retrieve, update, delete }acme.charges.{ list, create, refund }acme.flags.{ evaluate, override }acme.webhooks.{ list, subscribe, retry }acme.audit.{ search, export }
Every method returns a Result<T, AcmeError> tuple — no thrown
exceptions on expected failures (4xx). Network errors and 5xx
responses still throw.
Streaming
Long-running collections expose async iterators:
The stream respects AbortSignal and surfaces rate-limit headers via
stream.meta.