There's no good language
jona.io2 ポイント投稿者 Killswitch1 コメント
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. - Package_A
- Package_B
- Package_C
It's only when A and B depend on different versions of C that cannot be resolved via semver as safe. - Package_A
-- node_modules
--- Package_C
- Package_B
-- node_modules
--- Package_C
I am pretty certain that monkey patching your dependencies is frowned upon in the Node world. It's best to fork the repo make your changes, and then depend on that. app.get('/', function * () {
this.body = yield User.all()
})
vs app.get('/', function (req, res) {
User.all(function (err, users) {
if (err) throw err
res.end(users)
})
})