Underscore is a library of utility functions. Lodash is a more modern implementation of it.
Unlike Lodash and Underscore, scour is primarily a utility to traverse deep object trees. Lodash covers many functions useful for managing objects and arrays, but very few for making immutable edits.
Scour can also traverse through scopes using go(), which allows you to manage a subtrees and navigate through it.
Scour also has extensions via use(), which allows you to navigate your data with model-like objects (example).
.map()
, .filter()
(et al) can be chained and will be optimized.Immutable is a library for dealing with data in an immutable fashion.
Scour also has extensions via use(), which allows you to navigate your data with model-like objects (example).
It is really hefty (like 57kb) and has a huge API surface area.