Hacker News new | past | comments | ask | show | jobs | submit login

Bower doesn't do anything npm doesn't already do, except horrible version management.

    bower install lodash => bower_components/lodash/dist/lodash.min.js

     npm install lodash => node_modules/lodash/dist/lodash.min.js
Only difference there is you use `node_modules` instead of `bower_components` for root directory.



Easier to import as a module if you use Browserify or suchlike: `var _ = require('lodash');`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: