Bower is a front-end package manager built by Twitter. Also known as a Package manager for the Web, bower is used in modern open source and closed source projects to solve many recurrent issues.
Bower has many of the benefits of other dependency managers. I’m sure there are others, but the benefits I’ve noticed so far include:
- Simplify what might be called declarative dependency management; i.e. you declare your dependencies in bower.json so that other things can determine them easily
- No need to commit dependencies to version control
- Semantic versioning is used to help define a range of acceptable versions for a dependency, which makes it easy to update to newer versions within the defined range
- No need to locate various builds (debug, minified, etc)
- Simple to use different builds of a dependency for dev vs. prod
- You can distribute the bower.json file and everyone can get up to speed with a simple “bower install”