Hacker News new | ask | show | jobs
by Killswitch 3812 days ago
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.
1 comments

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