Iii iii-node-sdk
install
source · Clone the upstream repo
git clone https://github.com/iii-hq/iii
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/iii-hq/iii "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/iii-node-sdk" ~/.claude/skills/iii-hq-iii-iii-node-sdk && rm -rf "$T"
manifest:
skills/iii-node-sdk/SKILL.mdsource content
Node.js SDK
The TypeScript/JavaScript SDK for connecting workers to the iii engine.
Documentation
Full API reference: https://iii.dev/docs/api-reference/sdk-node
Install
npm install iii-sdk
Key APIs
| API | Purpose |
|---|---|
| Connect to the engine and return the client |
| Register a local async function handler |
| Register an HTTP-invoked external function |
| Bind a trigger to a function (with optional metadata) |
| Invoke a function |
| Fire-and-forget invocation mode |
| Durable async invocation mode |
| Structured logging |
, , | OpenTelemetry instrumentation |
| Binary streaming between workers |
| Custom stream implementation |
| Custom trigger type registration |
RBAC Auth Result Fields
When implementing an auth function for RBAC workers, the
AuthResult supports:
| Field | Purpose |
|---|---|
| Additional function IDs to allow |
| Function IDs to deny (overrides expose_functions) |
| Trigger types the worker may register |
| Whether the worker can register new trigger types |
| Prefix applied to functions registered by worker |
| Arbitrary context forwarded to middleware/handlers |
Browser SDK
For browser environments, use
iii-browser-sdk (same API, adapted for browser WebSocket constraints). See iii-browser-sdk skill for details.
Pattern Boundaries
- For usage patterns and working examples, see
iii-functions-and-triggers - For HTTP endpoint patterns, see
iii-http-endpoints - For HTTP middleware patterns, see
iii-http-middleware - For browser-side usage, see
iii-browser-sdk - For Python SDK, see
iii-python-sdk - For Rust SDK, see
iii-rust-sdk
When to Use
- Use this skill when the task is primarily about
in the iii engine.iii-node-sdk - Triggers when the request directly asks for this pattern or an equivalent implementation.
Boundaries
- Never use this skill as a generic fallback for unrelated tasks.
- You must not apply this skill when a more specific iii skill is a better fit.
- Always verify environment and safety constraints before applying examples from this skill.