Lidash (light-weight lodash) is a tiny package containing utilities to manipulate arrays and objects without mutating them. Exported functions keep the same signature as their lodash equivalents.
npm install lidash
const {
difference,
eq,
get,
groupBy,
has,
identity,
includes,
intersection,
mapValues,
maxBy,
minBy,
omit,
pick,
range,
sortBy,
sumBy,
union,
uniq,
without,
} = require('lidash');
...
npm run test