Broccoli
Asset pipeline for Node that builds a tree of files from build definitions in a Brocfile, with plugins for each transformation.
Broccoli is an asset pipeline that runs on Node and is backend-agnostic. A project describes its build in a Brocfile.js, which exports a function that returns a tree: either a directory path or a graph of plugin nodes that transform and combine other trees. The function receives the options the command line passes, including the environment.
The command line is a separate package, broccoli-cli. Its broccoli build command writes the output once, and broccoli serve runs a development server. The README advises against running the server on a production host and suggests serving the built files from a web server instead. Plugins are published on npm under the broccoli-plugin keyword, and a Builder class lets other Node code run a graph directly.
Identity
Rendering and deploy
- Runs as
- Dev only, Static files3
- Install with
- npm install --save-dev broccoli3
Releases
Adoption
Sources
- 2026-10-28: Status
www.broccoli.build/ - 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/broccolijs/broccoli - 2026-10-28: links, Categories, Runtime, Install with, Runs as
github.com/broccolijs/broccoli/blob/main/README.md - 2026-10-28: Maintainer, License model
raw.githubusercontent.com/broccolijs/broccoli/v4.0.0-broccoli/LICENSE - 2026-10-28: Minimum runtime
raw.githubusercontent.com/broccolijs/broccoli/v4.0.0-broccoli/package.json - 2026-10-28: First release
registry.npmjs.org/broccoli - 2026-10-28: Current major version
github.com/broccolijs/broccoli/releases/tag/v4.0.0-broccoli - 2026-10-28: Last release
api.github.com/repos/broccolijs/broccoli/releases - 2026-10-28: Contributors
api.github.com/repos/broccolijs/broccoli/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/broccoli - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/broccoli