Return a random array-like index.
Checks if arrays have no value in common.
Split string capture group retained on left
Runs a list of async tasks, passing the results of each into the next one
I find myself writing `item = item instanceof Array ? item : [item]` a lot, so I decided to make a simple library to does it for me. A few examples:
Finds first value passing a test.
Nunjucks module for NestJS
i18n compiler that generates TypeScript functions from JSON translations
Allow parsing of async generator functions
Test if a value is an array of arrays.
Simple data set export to Excel xlsx file
Browserify transform to convert ES5 syntax to be ES3-compatible.
Combines an array of AbortSignals into a single signal that is aborted when any signal is
Helps to perform transformations with boolean attributes
Node-RED nodes to help flow looping.
Babel preset for stage 3 plugins
Sort an array of numbers
JavaScript runtime for code transpiled using Zigar
OpenAI LLM function schema from OpenAPI (Swagger) document
TypeScript definitions for sort-array
LeafyGreen UI Kit Custom Hooks
throttle async and promise-returning functions. Other packages don't do it right.
Babel preset for stage 2 plugins
Command-line JSON viewer