Curated collection of data structures for the JavaScript/TypeScript.
filter in array tree
Normalize array (possibly n-dimensional) to zero mean and unit variance
Return a function which tests if every element in an array passes a test condition.
A collection of useful functions
Validates if a value is an integer array.
Put a bunch of emitted events in an array, for testing.
finds an item in an array matching a predicate function, and returns its index
A vector search SQLite extension that runs anywhere - PhotoStructure's production-ready fork
`[].map(f)` for older browsers
Float64Array.
Convert a typed array to a Buffer without a copy
Tiny queue data structure
Array#filter for older browsers.
Get the last or last n elements in an array.
Uint8Array.
Float32Array.
A ponyfill for the ES 2015 (ES6) `Array.from()`.
Maintain and search through a sorted array using some low level functions
Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.
Detect whether or not an object is a Typed Array
Read arrays as standard WhatWG streams.
Uint32Array.
Uint16Array.