Showing 1-20 of 138,257 packages
Move an array item to a different position
classic spreadsheet sum of array item products
Remove array item(s) by value
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:
Randomly pick an array item by weight callback
Move an array item to a different position
Move an array item to a different position within array bounds
No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.
Minimal async jobs utility library, with streams support
Remove array item(s) by value
Loop over each item in an array and call the given function on every element.
Interjects a value between each array item.
filter in array tree
Replace or remove multiple items in an array.
A data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.
mdast extension to parse and serialize GFM task list items
micromark extension to support GFM task list items
General purpose glob-based configuration matching.
The smallest and simplest JavaScript priority queue
Get consecutively unique elements from an array