Search results

149 packages found

Get a compare function for array to sort

published version 2.0.0, 5 years ago673 dependents licensed under $MIT
19,359,247

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, 5 months ago36 dependents licensed under $MIT
605,684

Sort an array on an object property

published version 6.1.0, 5 months ago54 dependents licensed under $MIT
931,691

Utility library to traverse AST

published version 4.0.16, a year ago15 dependents licensed under $MIT
49,648

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
23,217

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
14,209

Wrap text by a given width.

published version 1.0.9, 4 years ago9 dependents licensed under $MIT
4,326

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
4,523

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,363

Traverse and edit AST

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

Generate random names

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

A simple text analysis tool that provides insights into text such as reading time, word count, sentiment, readability score, link count, and SEO-friendly keywords.

published version 1.2.7, 17 days ago0 dependents licensed under $MIT
1,081

Merge objects with arrays of objects based on given object key

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

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

published version 1.0.0, 5 months ago0 dependents licensed under $MIT
643

Download Google fonts by providing the url

published version 1.0.6, 4 years ago0 dependents licensed under $MIT
798

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

published version 0.0.19, a month ago3 dependents licensed under $ISC
471

get element by id

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

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

published version 1.0.2, 6 months ago0 dependents licensed under $ISC
340

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
355

Getter/setter for nested parsed HTML AST's, querying objects by key/value pairs

published version 4.0.25, 8 months ago0 dependents licensed under $MIT
279