@kubb/core
v5.4.2
Published
Core engine for Kubb. Provides the plugin driver, file manager and build orchestration used by every Kubb plugin.
Maintainers
Readme
@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/coreis an internal library. Install thekubbmeta-package instead and author plugins, generators, resolvers, parsers, and adapters through itskubb/kitsubpath, which re-exports the authoring surface of this package.
Installation
bun add @kubb/core
# or
pnpm add @kubb/core
# or
npm install @kubb/coreCancellation
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:
