1.1.4 • Published 3 years ago

@ghom/utils v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Javascript utils

Install

npm install @ghom/utils

Usage

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
1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago