Randomize the order of items in an array
取得陣列唯一值,支援深度比較巢狀物件和陣列 / Get unique values from array with deep comparison for nested objects and arrays
Split array element indices into two groups.
Test if a number is prime.
Return the index of the first element which passes a test implemented by a predicate function.
Convert a two-dimensional banded nested array to compact banded storage.
Apply a binary callback to elements in two four-dimensional nested input arrays and assign results to elements in a four-dimensional nested output array.
A base TSConfig for working with Node 18.
Provides some base functions needed by a css-select adapter so that you don't have to implement the whole thing.
Repeat a string a specified number of times and return the concatenated result.
Convert a Node-API value to an unsigned 8-bit integer array.
Group values according to an indicator function and return group counts.
Remove singleton dimensions from an ndarray
Compute the multiplicative inverse for each element in a double-precision floating-point strided array according to a strided mask array.
Apply a binary callback to elements in two broadcasted input arrays and assign results to elements in a four-dimensional nested output array.
Raised cosine distribution standard deviation.
Compute the coversed cosine.
Return the index of the last element which passes a test implemented by a predicate function.
Compute the cube root for each element in a single-precision floating-point strided array according to a strided mask array.
A tiny and fast selection algorithm in JavaScript.
Compute the Bessel function of the second kind of order zero.
Apply a unary callback to elements in a broadcasted nested input array and assign results to elements in a three-dimensional nested output array.
Integration testing for CLI applications
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object