yuku-minify is a high-performance JavaScript and TypeScript minifier written in Zig, currently at version 0.5.19. It focuses on speed and correctness, leveraging Zig's low-level control and safety. Differentiators include near-instant minification, small output size, and comprehensive ES2022+ support. The package releases regularly, often addressing edge cases and performance improvements. It ships with TypeScript type definitions for easy integration.
npm install yuku-minifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic async minification with options from a string input.
Use import syntax in your project or switch to dynamic import() if in a CommonJS context.
Replace minifySync with await minify()
Access result.code instead of result.output
Use TypeScript and check the MinifyOptions type for valid properties.
Run `npm install yuku-minify`
Use `import { minify } from 'yuku-minify'` instead of require.Change `import minify from 'yuku-minify'` to `import { minify } from 'yuku-minify'`.No dependency data recorded yet.