Lo-Dash has a number of tools for transforming collections into new data structures. Additionally, there are tools that can take two or more collections and combine them into a single collection. These functions focus on the most common, yet most burdensome programming tasks faced by frontend developers. Instead of focusing on boilerplate collection transformations, you can get back to making a great application—users don't care about awesome compact code as much as you do.
Grouping collection items
Items in collections are sometimes grouped implicitly. For example, let's say there's a
size property for a given class of objects whose allowable values are
'L'. The code in your frontend application might need ...