@terrastruct/d2

D2.js is a wrapper around the WASM build of D2, the modern text-to-diagram language.

d2lang-js

An unofficial interface for building D2 diagram files in javascript