Search results
410 packages found
Remove array item(s) by value
Get consecutively unique elements from an array
An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3
- Array.prototype.at
- Array.prototype.item
- String.prototype.at
- String.prototype.item
- item
- at
- array
- shim
- polyfill
- es-shim
- API
Get the longest item in an array.
A random weighted item chooser with custom seed option for JavaScript and TypeScript.
A basic items manipulation model
Visit a method over the items in an object, or map visit over the objects in an array.
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.
- array
- browser
- cycle
- deno
- deno-edition
- deno-entry
- denoland
- each
- es2022
- es5
- export-default
- flow
- forEach
- map
- View more
Get a random combination from a list of items.
Group arrays by complex keys into polymorphic structures
Replace or remove multiple items in an array.
Queue, ArrayQueue. Javascript & Typescript Data Structure.
Run async fn for each item in (async) iterable
Add up all the numbers in the array
Clone an array of objects
Loop over each item in an array and call the given function on every element.
Like a stack, the queue is a linear data structure that stores items in either a First In First Out (FIFO) or Last In First Out (LIFO) manner. With FIFO, the least recently added item is removed first, while with LIFO, the most recently added item is remo
- width
- delete
- cloudformation
- time
- Object
- some
- text
- express
- JSON-Schema
- optimizer
- whatwg
- sigterm
- ESnext
- string
- View more
Type-safe utilities to return a random element from an array or random entry from an object
Get unique objects from array of objects
- unique
- array
- objects
- multiple
- array item
- keys
- test
- deduplication
- distinct
- filter
- eliminate duplicates
- javascript
- data
- manipulation