@kubb/core
Core engine for Kubb
Core engine for Kubb's plugin-based code generation system. Provides the plugin driver, file manager, defineConfig, definePlugin, defineMiddleware, and the build orchestration layer used by every Kubb plugin.
Note: @kubb/core is an internal library. Install the kubb meta-package instead and author plugins, generators, resolvers, parsers, and adapters through its kubb/kit subpath, which re-exports the authoring surface of this package.
Installation
bun add @kubb/core
pnpm add @kubb/core
npm install @kubb/core
Cancellation
createKubb accepts an AbortSignal. The engine checks it before setup, while it parses input and
normalizes plugins, and before each generated-file write. Plugin authors receive the same signal in
their generator context when they need to stop their own asynchronous work.
Supporting Kubb
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
License
MIT