A useful collection of optimized utility functions for JavaScript and TypeScript
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 3 years ago
ArrayLike
and Iterable
in more places (4be98c4)findIndexAll
function (9bf57be)pullAll
function (a190c96)thunkify
function (e322aab)NumberLike
as return type of the input for the invert
function (a8090d2)count
function (093d93a)timeout
function (1bd2bdf)Range#equals
function (623fb9b)Range#intersects
function (c03fcf3)Range#isSubrange
function (53549d0)Range#isSuperrange
function (31c015c)isSorted
function (7e7ebee)isWhitespace
function (38a987a)NumberLike
type and expand Comparable
types (66d6ea5)count
function now returns the number of elements in an iterablePublished by github-actions[bot] about 3 years ago
indexOfAll
function (f96fbdd)replace
function (758ee83)replaceAll
function (9727092)AutoPercentage
class (7b5a9ce)StatusRange
namespace (7ea73fe)partition
function (c7e49b3)isAnagram
function (7dea3dd)Published by github-actions[bot] about 3 years ago
identical
function receives bad input (a038c9e)first
function (2a743e3)identical
function now throws a RangeError
if both parameters are not a valid type and the same type.first
function now returns an iterable instead of an array. If you need an array replace its usage with [...first(iterable, n)]
.Published by github-actions[bot] about 3 years ago
fill
function (a10af64)mapFill
function (ec4ec33)cycle
function (dba9721)cycle
function now returns an iterable instead of an array. Use [...cycle(iterable)]
instead of cycle(iterable)
if you need an array.mapFill
function have been swapped.fill
function have been swapped.Published by github-actions[bot] about 3 years ago
Published by github-actions[bot] about 3 years ago
max
and min
functions (0633d52)padEnd
function (4adb3f1)padStart
function (f18ec27)count
function (81c51db)cycle
function (924e0e7)product
function (67c5207)max
function to support Comparable
s (30a7811)min
function to support Comparable
s (09da163)