Iterate over a collection, invoking a function for each element.
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
Populate a <canvas> element with a font texture atlas
Safely push each item of an array to a stream
Generate hexmaps from data that uses the Open Data Institute's HexJSON format.
`[].reduce()` for old browsers
A polyfill for Array.prototype.flat and Array.prototype.flatMap
Attach comments to estree nodes
Create an array of unique values, in order, from the input arrays
Matches strings against configurable strings, globs, regular expressions, and/or functions
Spinners for use in the terminal
Encode compact, canonical JSON.
A type checking library where each exported function returns either true or false and does not throw. Also added tests.
Workaround a Safari bug where rest destructuring with an array literal on the rhs can yield incorrect results
Full BCP 47 language subtag data from the official IANA repository, in JSON format with multiple indices.
Selectively merge values from one or more generators onto the current application instance.
Run an array of functions in series
Uppercase first character of each element in arrays of strings.
An object schema merger/validator
Right pad a string with zeros or a specified string. Fastest implementation.
Like a Set, but provides the index of the `key` in the backing array
Call a function for each value in an array and return a Promise
Fast and easy parser of statements in source code in any language ✂️
Map over an array or object of values in parallel or series, passing each through the async iterator, with optional lifecycle hooks.