@ruvector/graph-wasm
Installation
SKILL.md
@ruvector/graph-wasm
WebAssembly graph database with a Neo4j-inspired API and Cypher query support, enabling graph operations in browsers, Cloudflare Workers, Deno, and any WASM-compatible runtime.
Quick Command Reference
| Task | Code |
|---|---|
| Initialize WASM | await init() |
| Create graph DB | const gdb = new WasmGraphDB() |
| Add vertex | gdb.addVertex('user', '{"name":"Alice"}') |
| Add edge | gdb.addEdge('v1', 'v2', 'KNOWS') |
| Cypher query | gdb.query("MATCH (n) RETURN n") |
| Neighbors | gdb.neighbors('v1') |
| Serialize | const bytes = gdb.serialize() |
| Deserialize | WasmGraphDB.deserialize(bytes) |