some lodash mixins for deep operations on plain objects
npm install lodash-deeperI seem to run into cases where I need to do recursive stuff in lodash in ways
not supported by either lodash or lodash-deep. Just dropping them here so I don't
keep reinventing them.
To mix it in:
`` js`
var _ = require('lodash')
_.mixin(require('lodash-deeper'))
But you can probably be happy to just use it on its own:
` js`
var filterDeep = require('lodash-deeper').filterDeep
If you want to _.filter an object recursively to find all sub-objects that alsofilterDeep` function. Take a
match the passed in predicate, use this module's
look at this repo's test for an example.