1.1.4 • Published 5 months ago

@ghom/utils v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months 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

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago