Search results

149 packages found

Get a compare function for array to sort

published version 2.0.0, 5 years ago677 dependents licensed under $MIT
26,394,135

Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order

published version 5.0.0, 6 months ago36 dependents licensed under $MIT
712,528

Sort an array on an object property

published version 6.1.0, 6 months ago54 dependents licensed under $MIT
1,228,698

Utility library to traverse AST

published version 4.0.16, a year ago15 dependents licensed under $MIT
55,070

Effectively merge arrays of objects into a single array by merging objects with the same key (property).

published version 1.0.1, 8 years ago1 dependents licensed under $MIT
28,761

Re-order the objects in an array so that values of a specified property match the order of a provided array of values.

published version 0.1.0, 8 years ago3 dependents licensed under $MIT
16,933

Wrap text by a given width.

published version 1.0.10, a day ago9 dependents licensed under $MIT
5,917

Extract values and paths from AST by keys OR set them by keys

published version 5.0.18, a year ago1 dependents licensed under $MIT
8,473

Delete keys from all arrays or plain objects, nested within anything, by key or by value or by both, and clean up afterwards. Accepts wildcards.

published version 4.0.25, 8 months ago4 dependents licensed under $MIT
1,029

Generate random names

published version 1.2.2, 2 years ago0 dependents licensed under $MIT
880

Merge objects with arrays of objects based on given object key

published version 1.2.1, 5 years ago1 dependents licensed under $MIT
1,289

Traverse and edit AST

published version 9.0.25, 8 months ago2 dependents licensed under $MIT
953

Type-safe and tested utility to easily group an array of GraphQL objects by their typename

published version 1.0.0, 6 months ago0 dependents licensed under $MIT
811

get element by id

published version 0.0.0, 12 years ago0 dependents licensed under $MIT
859

Download Google fonts by providing the url

published version 1.0.6, 5 years ago0 dependents licensed under $MIT
571

Sort array of arrays by column, rippling the sorting outwards from that column

published version 5.0.10, a year ago0 dependents licensed under $MIT
494

```js import {sortedByFunction} from "../index.mjs"

published version 1.0.2, 7 months ago0 dependents licensed under $ISC
378

Groupped flat colors by their range.

published version 1.0.10, 2 days ago1 dependents licensed under $MIT
400

Array subclasses that remain continuously sorted on insert() or push() calls, featuring optimized includes() and indexOf()

published version 0.0.23, 2 days ago3 dependents licensed under $ISC
270

A typescript implementation of keyby method, inspired by lodash.keyby

published version 1.1.0, 3 years ago0 dependents licensed under $MIT
312