Re:The new bower.io
by edwinvdgraaf on Friday June 27, 2014 @06:13AM
(#7953384)
What are reasons to use bower over NPM? I know that bower mainly focusses on front-end libraries (such as jQuery or Bootstrap). But does it offer functionality NPM doesn't have?
[ Parent
| on HN ]
Bower installs dependencies in a flat folder structure, whereas NPM nests them. This makes it much easier to use Bower with a client-side module loader.
Bower is also (easily) configurable where bower_components will be, whereas I don't think NPM is as easily.
I have generally only seen bower used for client side web. Its very useful when you are running a frontend framework like Angular or ember.
bower manages your script tags in the html file. It also supports partial inclusion of libraries.
> bower manages your script tags in the html file
no, it doesn't. bower has nothing to do with module loading.
you are technically right. It's the grunt bowerInstall.
Re:The new bower.io
by abritishguy on Friday June 27, 2014 @08:36AM
(#7953681)
FTFY:you are right