Functions for modifying a unified-latex AST
Scales and color schemes for visual encoding.
Apply a sequence of filter functions to an object
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Bridging the gap between buffers and typed arrays
TypeScript definitions for array-unique
All essential TypeScript types in one place
Helper function to build react jsx
Tiny, dependency free promisify library.
TypeScript definitions for stream-array
Ensure a value is an array and wrap it if it is not an array
A little library for asserting types and values, with zero dependencies.
The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js
<!-- badges -->
Isomorphic map-reduce function to flatten an array into the supplied array
Trim the whitespace within an array of GLSL tokens
Get esbuild-compatible targets from a browserlist config
"Descope" an array of GLSL tokens such that they can be safely inlined alongside within another shader without causing any global variable conflicts.
Determine if an array or object is equivalent with another, *not* recursively
small, standalone fuzzy search / fuzzy filter. browser or node
Recursively merge two dictionaries together
Determine the scope depth of an array of GLSL tokens
Create an object path from a list or array of strings.
Computes the longest prefix string that is common to each path, excluding the base component