Answer the question
In order to leave comments, you need to log in
Why do you need a bower?
Why do you need a bower?
Essentially a heavily stripped-down npm? Or not?
Here they write
https://xakep.ru/2014/05/30/bower-package-manager/
The main difference between npm and Bover is the approach to installing package dependencies. Npm installs the dependencies for each package separately, in the folder of this package, then installs the dependencies of the dependencies in the same way, and so on. In client-side javascript, this is not allowed: you cannot include two versions of jQuery or any other library on a page. In Bover, each package is installed once, and in the event of a dependency conflict, Bover will simply not install a package that is incompatible with those already installed.
Answer the question
In order to leave comments, you need to log in
In short, what is the point of other package managers besides npm?
The beauty of bower is the ability to put dependencies where you need them, and not in node_modules. This is irreplaceable on legacy projects, for example.
On the other hand, if you use, for example, momentjs on the server and on the client, or you have isomorphic rendering on react, then you won’t set the same thing twice with two different managers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question