Get the first element or first n elements of an array.
updated at Dec. 26, 2021, 4:08 a.m.
Swaps the index / position of an array
updated at Jan. 6, 2022, 3:49 a.m.
NPM module for creating a keymirror object from an array of strings
updated at Jan. 8, 2022, 2:10 p.m.
Convert a string to a constant case.
updated at May 22, 2022, 1:26 a.m.
A streams2 Readable stream generator, useful for testing.
updated at July 19, 2022, 7:42 a.m.
Returns a copy of an object with its keys sorted
updated at July 29, 2022, 5:05 a.m.
Get the real size of an <img>, <video>, or <canvas> in the browser.
updated at Sept. 12, 2022, 10:02 a.m.
Left pad a string with zeros or a specified string. Fastest implementation.
updated at Dec. 6, 2022, 1:07 a.m.
Document ready listener for modern browsers
updated at Jan. 27, 2023, 12:39 p.m.
Strip whitespace - or other characters - from the end of a string
updated at Jan. 28, 2023, 7:26 a.m.
Convert a string to a snake case.
updated at Feb. 15, 2023, 9:47 p.m.
Easily handle --help and --version arguments in your CLI application
updated at Feb. 17, 2023, 11:32 a.m.
Split array/TypedArray to chunks of given size
updated at March 8, 2023, 4:32 a.m.
Find the Greatest Common Divisor using Euclidean Algorithm
updated at March 9, 2023, 1:40 a.m.
Get a time reference using Akamai's time reference service
updated at April 1, 2023, 3:06 a.m.
A very tiny and fast compose function.
updated at April 3, 2023, 1:32 p.m.