naskah lodash
// Installation
npm i --save lodash
// Types
npm i --save @types/lodash
// Usage
import { flatten, isEqual, last, omit, pick, pickBy, uniq } from 'lodash';
flatten([[1,2],[3,4]]) // [ 1, 2, 3, 4 ]
last([ 1, 2, 3, 4 ]) // 4
uniq([1,2,3,1,2,3,2]) // [ 1, 2, 3 ]
Anxious Alpaca