The Shumoku libraries — the rendering engine, its supporting packages, and the data-source plugins.
Core engine & renderers
| Package | What it is |
|---|---|
shumoku | All-in-one — re-exports core + the SVG/HTML renderers. Start here. |
@shumoku/core | Models, YAML parser, layout engine, themes, plugin kit. Browser-safe and render-agnostic. |
@shumoku/renderer-svg | SVG render pipeline (prepareRender → renderSvg). |
@shumoku/renderer-html | Interactive HTML output. |
@shumoku/renderer-png | PNG output (Node.js, via resvg). |
@shumoku/renderer | Svelte interactive renderer (pan/zoom, serialization) — used by the editor and the server web UI. |
@shumoku/catalog | Device / service catalog (vendor, model, SNMP sysObjectID). |
@shumoku/plugin-sdk | Node HTTP client + pagination for data-source plugins. |
Data-source plugins
plugins/ — each implements DataSourcePlugin and translates its upstream vocabulary into core’s neutral types at the boundary:
| Plugin | Capabilities |
|---|---|
zabbix | metrics, hosts, topology, alerts |
prometheus | metrics, hosts, alerts |
netbox | topology, hosts |
grafana | alerts |
aruba-instant-on | hosts, metrics, alerts |
network-scan | autoscan (SNMP / LLDP discovery) |
See Plugin Authoring to write your own.