lurq

npm package

Home

string-natural-compare

String Natural Compare is a utility for comparing alphanumeric strings in a human-friendly manner using a natural order algorithm. It is particularly useful for sorting arrays of strings where numeric values should be considered in their numerical order rather than ASCII order. This package can be integrated into applications requiring custom sorting logic for strings, especially those containing numbers.

lurq health score
44/100
Confidence
unproven
Weekly downloads
4,092,617
Latest version
3.0.1
Last release
Jan 21, 2020
License
MIT

Should you depend on string-natural-compare?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks string-natural-compare at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 8, 2026; this page refreshes every 24 hours. Source repository.