depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access

Related on DepScope

Alternatives
  • react-fast-compare— Fastest deep equal comparison for React. Great for React.mem
  • natural-compare— Compare strings containing a mix of letters and numbers in t
More
  • All npm packages →
  • Breaking changes index →
  • Bug index →
  • AI hallucination corpus →
depscope/npm/compare-func

compare-func

npmv2.0.0

Get a compare function for array to sort

License MITpermissive12 versions1 maintainers2 deps13,022,158 weekly dl
stevemao/compare-func
62
/ 100
Health
use with caution

[email protected] low health (62/100) — consider alternatives

  • Moderate health score (62/100) — verify manually
Health breakdown0 – 100
0/25
maintenance
20/20
popularity
25/25
security
15/15
maturity
2/15
community
0/15
popularity_floor
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

1.6 KBminified
0.7 KB gzipped
2 direct dependencies
side effects
🌟

TypeScript

7/10typed
Types from @types/compare-func (DefinitelyTyped)
Quality signals
Download trend
stable(0%)
Publish security
npm signed

Health History

Dependency Tree

License Audit

Dependencies (2)
array-ifydot-prop
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/compare-func
More from npm
?semverminimatchdebugbrace-expansionstrip-ansi
Browse all npm packages →

First published · 2015-04-03T13:03:01.080Z

Last updated · 2020-05-15T13:35:21.878Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents