Is it better to set underline through NPM or Bower?

I am creating a NodeJS application and using UnderscoreJS. Will it be more applicable as a Bower or NPM installation? Is there any difference? I use it on the front and back. How?

+4
source share
2 answers

He already answered here: What is the difference between Bower and npm?

So here is the answer:

npm is most often used to manage Node.js modules, but it works for front-end too in combination with Browserify and / or $ npm deduplication.

Bower . , npm ( ), Bower (puts ).

, .. , . , . Underscore. , . jQuery.

, , , Bower front-end npm , Yeoman, Grunt, Gulp, JSHint, CoffeeScript ..

. , .

+10

Bower . , , grunt.

bower install underscore; grunt bowerInstall;
0

Source: https://habr.com/ru/post/1548166/


All Articles