Balm Core is the compiler core for BalmJS, an opinionated front-end workflow tool based on Gulp and webpack. It provides a structure-driven approach to building web apps with minimal configuration, handling tasks like PostCSS/Sass/Less compilation, CSS Autoprefixing, CSS sprites generation, ES2015+ transpilation via Babel, image optimization, and built-in BrowserSync dev server. Current stable version is 4.33.0, requiring Node >=20.10.0 or >=22.0.0. It ships with TypeScript declarations. Unlike generic task runners or bundlers, BalmJS enforces a specific project structure and convention over configuration, aiming for simplicity and consistency across projects. Release cadence is irregular. Supports both ESM and CommonJS modules.
npm install balm-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minimal configuration file and programmatic usage of balm-core to start a build.
Update to Node 20.10+ or 22+.
Update your project to use Webpack 5 and PostCSS 8+; check your configuration.
Change to import balm from 'balm-core'.
Ensure init(config) is called and resolves before calling go().
Create balm.config.js with your configuration; see docs for defaults.
Ensure your src directory follows the expected structure.
Install balm-core globally: npm install -g balm-core
Use import balm from 'balm-core' (default) or import { init } from 'balm-core' (named).Upgrade Node.js to 20.10+ or 22+.
Run: npm install -D gulp