A
A
AlexBukh2015-11-25 19:12:46
HTML
AlexBukh, 2015-11-25 19:12:46

How to load libraries when building with bower or npm?

What is the advantage of a package manager (npm) over another (bower)? I understand that NPM copes with the functions of the bover. but it is not clear better or worse and so on. grandfathers front-end help choose the true path! =)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Kitmanov, 2015-11-25
@k12th

bower has been abandoned and is no longer being developed. He had one killer feature - you could put dependencies in any folder, which is convenient on legacy projects.

npm handles bower functions
On the contrary, bower was such a fork of npm purely for the front. Then everyone switched to npm + browserify.
For the next, at least six months, it will be fashionable like this: SystemJS + (jspm || npm), or webpack + npm.
npm in any case will be on horseback, because it is through it that everything else is put :)

A
Alexander Wolf, 2015-11-25
@mannaro

Um ..
Bower is a frontend, and it doesn’t matter what the server is written on
. Npm is a backend, and only for nodejs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question