linxio-js

Build fleet scripts and services against the Linxio API

Authenticate once, use domain services for common workflows, load or stream paginated results, and drop down to raw requests for tenant-specific endpoints.

Typed results

Every service method returns { data, error } — branch without try/catch.

Auto-pagination

iterate() collects all pages. stream() yields one record at a time.

Resilient by default

Configurable timeout, retry, and automatic 401 token refresh.

Drop to raw requests

linxio.request() for any endpoint not covered by a domain service.

Quick install

pnpm add @ambulancewa/linxio-js