Docs
API reference

Reference

Every package and export of the Klorad SDK, what it takes and what it returns.

For looking up an export once you know what you are building. New to the SDK? Start with the quickstart; for why the API is shaped as it is, read the model.

PackageImportLayerPage
@klorad/api@klorad/api/worldWorldWorld
@klorad/api@klorad/api/integrationIntegrationIntegration
@klorad/react@klorad/reactBindingReact
@klorad/engine-three@klorad/engine-three, /reactRendererthree.js renderer
@klorad/engine-openlayers@klorad/engine-openlayers, /reactRendererOpenLayers renderer
@klorad/engine-cesium@klorad/engine-cesiumRendererCesium renderer
@klorad/engine-mapbox@klorad/engine-mapbox, /reactRendererMapbox renderer
@klorad/access@klorad/accessAccessAccess
@klorad/notify@klorad/notifyPlatform service over AccessNotify
@klorad/protocols@klorad/protocols, /mqttIntegration adaptersProtocols

@klorad/api also exports everything from /world and /integration at its root; prefer the subpaths, which say which layer your code depends on.

These pages describe the versions below; Versions and releases has each package's release history and migration notes.

PackageDocumented versionReleased
@klorad/api0.2.32026-11-03
@klorad/react0.2.32026-11-03
@klorad/engine-three0.2.32026-11-03
@klorad/engine-openlayers0.1.32026-11-03
@klorad/engine-cesium0.1.12026-11-03
@klorad/engine-mapbox0.1.12026-11-03
@klorad/access0.2.32026-11-03
@klorad/notify0.2.32026-11-03
@klorad/protocols0.1.32026-11-03

Also here: the page for agents, and Klorad One and the SDK, which says what the platform does without code and what needs application code.

Stability

The packages are at 0.x. Under semantic versioning, a 0.x minor release may change the public API; every such change is listed in the package's changelog with a migration line. Exports not documented here are internal, even when a bundler lets you reach them.

Conventions

  • Every value the SDK returns is immutable (frozen) unless its type says otherwise.
  • Functions that can fail on bad input throw a TypeError or RangeError with a message that names the fix. Operations that can fail on the outside world (a device, a vendor) return an outcome instead of throwing.
  • Instants are milliseconds since the Unix epoch (Instant = number), always on the scene's clock.

Something wrong or unclear? Tell us.