Cush is a modern module bundler for Node.js (>=9) focused on eager bundling, symlink-friendly resolution, and approachable configuration. Version 0.2.3 is the latest stable release, with an experimental API and limited adoption. It features automatic plugin installation, a worker farm for heavy tasks, and a simple plugin API. Differentiators include its use of wch for file watching and symlink support, though it is less mature compared to webpack or rollup.
npm install cushVerified import paths — ran on the pinned version, not inferred.
Basic usage: imports bundle and Config, defines a configuration with TypeScript and resolve plugins, then calls bundle.
Upgrade Node.js to >=12 for full ESM compatibility.
Pin to a specific version and monitor the plugin API changes.
Explicitly specify plugin versions in configuration or package.json.
Run 'npm install cush' at project root.
Use 'import { bundle } from 'cush'' in an ESM context.