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:
Test if a value is an array of arrays.
Allow parsing of async generator functions
Node-RED nodes to help flow looping.
Simple data set export to Excel xlsx file
i18n compiler that generates TypeScript functions from JSON translations
Initialize an ndarray with zeros
Sort an array of numbers
Runs a list of async tasks, passing the results of each into the next one
TypeScript definitions for sort-array
JavaScript runtime for code transpiled using Zigar
Babel preset for stage 3 plugins
Checks if arrays have no value in common.
Combines an array of AbortSignals into a single signal that is aborted when any signal is
OpenAI LLM function schema from OpenAPI (Swagger) document
LeafyGreen UI Kit Custom Hooks
Babel preset for stage 2 plugins
Nunjucks module for NestJS
Helps to perform transformations with boolean attributes
throttle async and promise-returning functions. Other packages don't do it right.
Find the differences between two arrays and their positions
Command-line JSON viewer
An high available npm registry client
Responsive React grid system built with Styled System, with support for Emotion and Styled Components