@jitesoft/group-by

Makes all entries of an array - which returns a given key from callback - grouped under its key in resulting object.

Browse on unpkg