Rollup boilerplate is a project generator for UMD+ESM JavaScript libraries. Version 1.1.5 provides a CLI tool to scaffold a modern library project with Rollup, Babel, and testing setup. It supports both CommonJS (UMD) and ES module (MJS) outputs, making it suitable for creating universal libraries. Release cadence is low; last update was in 2021. Differentiators: automatic dependency installation, customized project structure, and built-in configuration for Rollup and Babel in a single command.
npm install rollup-boilerplateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the CLI globally, create a folder, run 'create-library', answer prompts, then install dependencies and build.
Consider alternatives like create-rollup-app or manually set up Rollup.
Install with -g flag, or use npx rollup-boilerplate.
If using latest Node, upgrade Babel presets if needed.
Run 'npm install -g rollup-boilerplate'.
Add 'transform-runtime' plugin to Babel config or install @babel/runtime.
Use the UMD bundle (dist/umd/) or upgrade to Node >=13.2.