A small JavaScript utility library to complement lodash.
Lightdash is a utility library aiming to complement lodash.
Install it:
npm install lightdash
And import it:
import { groupMapBy } from "lightdash";
groupMapBy([1, 2, 3, 4, 5], (val) => val % 2);