Typescript

TypeScript (ducjs)

TypeScript/JavaScript library with embedded WASM SQLite engine for reading and writing .duc containers across browser and server runtimes.

Overview

Because .duc is a standard SQLite database, ducjs packages an embedded WebAssembly SQLite engine. This allows it to run seamlessly in Node.js, Bun, Deno, and web browsers without requiring native binary dependencies.


Capabilities

  • Zero-Native Setup: WebAssembly build ensures cross-platform runtime execution across browser and server environments.
  • Typed Schema Access: High-level TypeScript interfaces for document state, elements, strokes, backgrounds, blocks, and charter tables.
  • Browser & Node Support: Supports browser File / Blob inputs, ArrayBuffer serialization, and server-side file streams.
Edit on GitHub

Last updated on