top | item 10892060

(no title)

Killswitch | 10 years 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.

discuss

order

endemic|10 years ago

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