1.1.4 • Published 2 years ago
@ghom/utils v1.1.4
Javascript utils
Install
npm install @ghom/utilsUsage
import "@ghom/utils"Added methods
<RegExp>.matches()- returns an array of matches<Array>.pick()- returns an array of objects with only the specified keys<Array>.omit()- returns an array of objects without the specified keys<Array>.partition()- return a tuple of two arrays, filtered by the predicate