nwoltman

nwoltman/string-natural-compare

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

JavaScript
51
5
MIT License

This library provides a function for comparing alphanumeric strings in natural order, similar to how humans sort items (e.g., "img2.png" comes before "img10.png"). It's designed for JavaScript developers who need to sort strings containing numbers in a human-friendly way, such as sorting filenames, version numbers, or any data where numeric portions should be ordered by their numeric value rather than ASCII order.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

nwoltman's profile
nwoltman
119 contributions
LeeHao12's profile
LeeHao12
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet