util

A useful collection of optimized utility functions for JavaScript and TypeScript

MIT License

Downloads
3.4K
Stars
7
Committers
4

Bot releases are visible (Hide)

util - v10.3.0 Latest Release

Published by github-actions[bot] 11 months ago

10.3.0 (2023-11-16)

Features

  • sort: add Sort.combine function (70d644d)
util - v10.2.0

Published by github-actions[bot] about 1 year ago

10.2.0 (2023-09-15)

Features

  • array: remove weird conditional behavior from chunk function (da3cf40)
  • iterable: add overload to chunk function for iterables (e2941e5)
util - v10.1.0

Published by github-actions[bot] about 1 year ago

10.1.0 (2023-09-05)

Features

  • http: add Http.Status.MisdirectedRequest (1693eae)
  • http: add `Http.Status.StatusName (03f1beb)
  • http: deprecate Http.Status.LoopDetected (6f96736)
util - v10.0.2

Published by github-actions[bot] about 1 year ago

10.0.2 (2023-08-07)

Bug Fixes

  • fix typings for TypeScript 5 (183e2cc)
util - v10.0.1

Published by github-actions[bot] over 1 year ago

10.0.1 (2023-04-21)

Bug Fixes

  • cards: newDeck function will not reuse Card objects in its return value (ff25a31)
util - v10.0.0

Published by github-actions[bot] almost 2 years ago

10.0.0 (2022-12-05)

Features

  • iterable: rename combineIterables function to concatIterables (87553d7)
  • consolidate dev and production builds (c63f422)
  • math: clamp function will always throw when min > max (d8e5ca1)
  • math: random function will always throw when min > max (98eaba1)
  • math: randomInt function will always throw when min > max (c55a254)

BREAKING CHANGES

  • iterable: The combineIterables function has been renamed to concatIterables
  • The /dev and /prod entrypoints have been removed
  • math: The clamp function will always throw when min > max
  • math: The randomInt function will always throw when min > max
  • math: The random function will always throw when min > max
util - v9.0.1

Published by github-actions[bot] about 2 years ago

9.0.1 (2022-08-30)

Bug Fixes

  • object: fix function signature of omit() (968a943)
util - v9.0.0

Published by github-actions[bot] over 2 years ago

9.0.0 (2022-02-25)

Features

  • string: do not trim whitespace in lines function (86704f1)

BREAKING CHANGES

  • string: The lines function no longer trims leading and trailing whitespace on lines
util - v8.12.0

Published by github-actions[bot] over 2 years ago

8.12.0 (2022-02-22)

Features

util - v8.11.0

Published by github-actions[bot] over 2 years ago

8.11.0 (2022-02-22)

Features

  • object: add pick function (4b7dcfe)
util - v8.10.0

Published by github-actions[bot] almost 3 years ago

8.10.0 (2021-12-21)

Features

  • math: add geometricMean function (ad2df0e)
  • math: add harmonicMean function (9266fab)
util - v8.9.0

Published by github-actions[bot] almost 3 years ago

8.9.0 (2021-12-09)

Bug Fixes

  • default-map: fix types for constructor (c698770)

Features

  • array: add firstIndexOfLastGroup function (c2715a3)
  • array: add trimEnd function (8c2e024)
  • array: add trimStart function (f7714b5)
  • iterable: add iteratorToIterable function (5b9f716)
  • iterable: add lastIndexOfFirstGroup function (c15ee77)
  • iterable: add skip function (0972f10)
  • map: start adding MathMap class (c86c36e)
  • math: add triangularNumber function (fb27a6c)

Performance Improvements

  • iterable: reduce memory usage of lastIndexOfFirstGroup function (0068b9c)
util - v8.8.0

Published by github-actions[bot] almost 3 years ago

8.8.0 (2021-12-03)

Features

  • iterable: add filter predicate to count function (435bd48)
util - v8.7.0

Published by github-actions[bot] almost 3 years ago

8.7.0 (2021-12-02)

Features

  • array: add overwrite function (1e9dcc1)
util - v8.6.0

Published by github-actions[bot] almost 3 years ago

8.6.0 (2021-11-30)

Features

  • set: add jaccardIndex function (3c0a454)
util - v8.5.2

Published by github-actions[bot] almost 3 years ago

8.5.2 (2021-11-29)

Bug Fixes

  • include [@category](https://github.com/category) annotations in Bitwise namespace (656b182)
util - v8.5.1

Published by github-actions[bot] almost 3 years ago

8.5.1 (2021-11-29)

Bug Fixes

  • include [@category](https://github.com/category) annotations in documentation (1e16fcc)
util - v8.5.0

Published by github-actions[bot] almost 3 years ago

8.5.0 (2021-11-25)

Features

  • enum: add enumHas function (a018630)
util - v8.4.3

Published by github-actions[bot] almost 3 years ago

8.4.3 (2021-11-14)

Bug Fixes

  • higher-order: fix return type of not function when given a type guard (dc0173a)
util - v8.4.2

Published by github-actions[bot] almost 3 years ago

8.4.2 (2021-11-12)

Bug Fixes

  • promise: always clear timeout timer (55c0229)
Package Rankings
Top 5.72% on Npmjs.org