Bower
Bower is a package manager for the web, that requires Node and Git.
It allows quick and easy install of all dependencies at once and provides an opportunity for sharing those dependencies with others.
So, instead of loading third party libraries manually in zip,
u can describe dependencies on those ones and their versions into the bower.json file.
Installing & Using
Bower is quite straightforward:
Install Bower:
$ npm install -g bowerGo to your project folder and install Package via
install [package]
command:
bower install jqueryU can use GitHub shorthand, a Git endpoint or a URL for the package.
Share dependencies:
You don't need to keep all those libraries in your repository,
just put your bower.json file under version control and that's it.
Anyway, npm stays the most commonly used package manager for JavaScript
ReplyDelete