Skip to content
JS
Package

@discoveryjs/natural-compare

Compare strings in a natural order

v1.1.0, 16 Sept 2022MITESM + CommonJSTypes: None
$ npm install @discoveryjs/natural-compare

Key numbers

As of 25 Sept 2026
Weekly downloads
174k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v1.1.0
GitHub stars
4
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

173,953 downloads last week, 835,066 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.1.0, 16 Sept 20224 years ago
First published
-
Last push to GitHub
16 Sept 20221,469 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^10 || ^12.20.0 || ^14.13.0 || >=15.0.0
Runtimes
-
Unpacked size (npm)
56 kB
Dependencies (0)
None
npm install @discoveryjs/natural-compare
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@discoveryjs/natural-compare@1.1.0/
  • unpkghttps://unpkg.com/@discoveryjs/natural-compare@1.1.0/
  • esm.shhttps://esm.sh/@discoveryjs/natural-compare@1.1.0
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.