Guides

Task-focused guides for common @drasi/lib scenarios.

These guides go beyond the basics and cover the patterns you’ll reach for when building real applications with @drasi/lib.

New here? Start with Getting Started and Concepts first, then come back for the deeper dives below.


JavaScript Sources

Push graph changes into the engine from your own Node.js code.

JavaScript Reactions

Handle continuous-query result changes with a plain JavaScript callback.

Working with Plugins

Load native Drasi source, reaction, and bootstrap plugins at runtime.

Error Handling

Branch on stable DrasiErrorCode values instead of matching error messages.

TypeScript Types

The generated index.d.ts is self-contained — import concrete types directly.