Core overview
Install the core library when you want Suitener behavior inside another Bun/TypeScript tool.
bun add suitener-coreImport the public API:
import { defineConfig, generateStubs, introspect, loadConfig, runTests, wrap, writeResults} from "suitener-core";Typical flow:
const project = await introspect("./backend");const result = await runTests(project);await writeResults(project, result);If no test command or no test files exist, runTests(project) delegates to generateStubs(project).