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 - v2.9.1

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

2.9.1 (2021-04-16)

Bug Fixes

util - v2.9.0

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

2.9.0 (2021-04-16)

Features

  • format: add multiReplace function (9b0b961)
util - v2.8.0

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

2.8.0 (2021-04-02)

Features

  • array: add reverse function (10eeb55)
util - v2.7.3

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

2.7.3 (2021-03-27)

Bug Fixes

  • array: fix chunk array size allocation (4359634)
util - v2.7.2

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

2.7.2 (2021-03-26)

Bug Fixes

  • fix file name of ESM build (dd233b9)
util - v2.7.1

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

2.7.1 (2021-03-26)

Bug Fixes

util - v2.7.0

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

2.7.0 (2021-03-16)

Features

util - v2.6.0

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

2.6.0 (2021-03-15)

Features

  • typedEventEmitter: add typed event emitter interface (e93781d)
util - v2.5.1

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

2.5.1 (2021-03-04)

Performance Improvements

  • toDigits: stop stringifying and parsing the value parameter (da93493)
util - v2.5.0

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

2.5.0 (2021-02-13)

Features

  • array: add frequencyTable function (77ea3d4)
util - v2.4.2

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

2.4.2 (2021-02-05)

Performance Improvements

  • array: optimize binarySearch (0a94a2b)
util - v2.4.1

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

2.4.1 (2021-01-21)

Bug Fixes

  • identical: fix identicalManual erroneously returning true for containers with different lengths (3ef69c1)
util - v2.4.0

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

2.4.0 (2021-01-19)

Features

  • reducers: add max function (884660a)
  • reducers: add min function (15db66b)
util - v2.3.0

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

2.3.0 (2021-01-19)

Features

  • array: add chunk function (634992b)
util - v2.2.0

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

2.2.0 (2020-12-27)

Features

  • array: add binary search function (e7dcf7a)
  • math: add clamp function (f53a6b6)
util - v2.1.0

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

2.1.0 (2020-12-23)

Features

  • sort: add sortObject to sort an object's keys (b04b71d)
util - v2.0.1

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

2.0.1 (2020-12-22)

Bug Fixes

  • stopwatch: fix output duration being rounded as BigInt (08f8f87)
util - v2.0.0

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

2.0.0 (2020-12-22)

Features

  • stopwatch: add Stopwatch class (b8729d2)
  • toDigits: rename toPrecision to toDigits (bf178da)

BREAKING CHANGES

  • toDigits: toPrecision was renamed to toDigits to better communicate its use.
    It returns the same values as before.

  • stopwatch: The startTimer function has been replaced with the Timer class

util - v1.2.0

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

1.2.0 (2020-12-18)

Features

  • math: add methods to calculate random values within a range (#12) (e790c75)
util - v1.1.1

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

1.1.1 (2020-12-03)

Performance Improvements

  • format: define length of column once (23fb567)
Package Rankings
Top 5.72% on Npmjs.org