Search results

1000+ packages found

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 9 years ago1749 dependents licensed under $MIT
187,800,961

deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies

published version 1.0.1, 8 years ago1524 dependents licensed under $MIT
166,294,060

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

published version 1.1.4, a year ago712 dependents licensed under $MIT
71,482,062

Array manipulation, ordering, searching, summarizing, etc.

published version 3.2.4, 2 years ago1856 dependents licensed under $ISC
65,055,229

Topological sorting with grouping support

published version 6.0.2, 2 years ago57 dependents licensed under $BSD-3-Clause
49,082,557

Sort the keys of an object

published version 5.1.0, 8 months ago449 dependents licensed under $MIT
44,791,914

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 10 years ago561 dependents licensed under $MIT
35,868,856

compare two semver version strings, returning -1, 0, or 1

published version 1.0.0, 10 years ago399 dependents licensed under $MIT
30,204,687

Topological sort of directed ascyclic graphs (like dependecy lists)

published version 2.0.2, 7 years ago557 dependents licensed under $MIT
29,016,670

deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results

published version 1.3.0, 15 days ago2094 dependents licensed under $MIT
28,498,545

Get a compare function for array to sort

published version 2.0.0, 5 years ago689 dependents licensed under $MIT
27,768,595

Removes duplicates from a sorted array in place

published version 1.0.1, 11 years ago348 dependents licensed under $MIT
18,202,656

Fast JavaScript array sorting by implementing Python's Timsort algorithm

published version 1.0.3, 5 years ago4 dependents licensed under $MIT
15,655,915

Compare alphanumeric strings the same way a human would, using a natural order algorithm

published version 3.0.1, 5 years ago529 dependents licensed under $MIT
17,185,059

Sort objecy keys by length

published version 2.0.0, 8 years ago19 dependents licensed under $MIT
14,482,805

A tiny and fast selection algorithm in JavaScript.

published version 3.0.0, 10 months ago178 dependents licensed under $ISC
13,924,320

Easy autofixable import sorting

published version 12.1.1, 10 months ago1547 dependents licensed under $MIT
11,782,856

Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license

published version 0.7.1, 11 years ago160 dependents licensed under $MIT
10,612,708

Alphanumeric sorting algorithm

published version 1.0.2, 10 years ago123 dependents licensed under $MIT
9,878,449

Stringify and write JSON to a file atomically

published version 6.0.0, 9 months ago443 dependents licensed under $MIT
10,390,544
OSZAR »