Quickstart

Quickstart

Each package installs from npm and works the same under Node and under scriptc build:

pnpm add @cutils/ffi       # shared format-7 FFI spec + struct echo
pnpm add @cutils/sqlite    # embedded SQLite
pnpm add @cutils/cache     # LRU + TTL memory cache
pnpm add @cutils/cli       # type-first CLI builder
Node
Native
import { Database } from "@cutils/sqlite";

using db = Database.openInMemory();
db.exec("CREATE TABLE todos (id INTEGER PRIMARY KEY, title TEXT)");
scriptc build src/main.ts --ffi packages/sqlite/vendor/manifest.json -o app

Per-package usage lives on the package pages; subset rules for contributors live in AGENTS.md.