Managing your application's dependencies can be painful, so it's no surprise that almost all languages have package management solutions.
Here are four tools that should make your life easier.
01. Bower Bower
Bower.io (opens in new tab) is probably the most popular choice. This was used in the real-time analytics application, but the dependencies were checked in to simplify the getting started process. bower. json is the manifest file used to reference dependencies. One restriction is that Bower supports a flat dependency tree, so multiple versions of the same package aren't supported.
02. NPM NPM
The manifest file is package. json and NPM (along with Browserify) provides support for deep-dependency tree. This means multiple versions of the same package are supported.
JSPM (opens in new tab) is an entirely browser-focused solution tied to the System.JS module loading system (opens in new tab) (github.com/systemjs/systemjs), which is a Universal Module Loader that means any module type can be loaded. It uses package.json and dependencies can be referenced and retrieved from JSPM or NPM.
Words: Phil Leggetter (opens in new tab)
Like This? Read this!