A native TypeScript declaration (.d.ts) bundler built on Oxc, providing fast bundling of TypeScript declaration files. Current stable version is 0.3.0, released periodically on npm. It differentiates from other d.ts bundlers (like @microsoft/api-extractor or dts-bundle-generator) by leveraging Oxc's performance for native-speed parsing and bundling. It supports external module exclusion, sourcemaps, and CJS default export emission. Requires Node.js >= 20.
npm install typackNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Bundles a TypeScript declaration file, externalizing 'react', with sourcemap generation.
Upgrade Node.js to version 20 or higher.
Use import syntax or set your project to ESM mode.
Always wrap the entry file in an array: input: ['src/index.d.ts'].
Avoid relying on CJS-specific output; prefer ESM default exports.
Change to import { bundle } from 'typack'; or add "type": "module" in package.json.Use import { bundle } from 'typack';Run npm install typack and ensure Node.js >= 20.
No dependency data recorded yet.