Skip to content

Install

Terminal window
pnpm add @sigil/sdk

The package ships two entrypoints:

ImportUse it for
@sigil/sdkVanilla TS / JS. Framework-agnostic.
@sigil/sdk/reactReact. <SigilProvider> + hooks.

Both are pure ESM with CJS fallback, fully typed, and tree-shakeable. Bundle target is < 30 KB gzipped (current actual: ~15 KB without React).

Peer dependencies

react ≥ 18 is a peer dep, marked optional. If you only use the vanilla entrypoint you don’t need React installed.

Versioning

Semantic versioning. Anything in @sigil/sdk v1.x will keep its public API stable. Internal types prefixed with _ may change.

What’s next