Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-23 00:24 UTC

stevemao / compare-func

Get a compare function for array to sort

JavaScriptMIT★ 16 stars⑂ 4 forkssince Apr 2015View on GitHub ↗

stevemao/compare-func holds a health index of 29 out of 100, placing it in the At Risk band. It scores highest on Sustainability & Governance (60/100) and lowest on Vitality (13/100). It was last updated 627 days ago. A single contributor accounts for most of its recent work.

29
overall / 100
At Risk

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

29
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 39 is calibrated to 34 on the published index scale (record calibration 2026-08-02).

Ownership

Steve MaoPersonal account
1,038 followers499 public repossince Jan 2014

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
npmcompare-func2.0.050,547,239122290 days agocompare-funcarrarraybycomparedotgetobjobjectproppropertysortsorting

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

13Critical · 21% of overall
How it's scored
0/36Push recencylast push 627 days ago
0/36Commit cadence0/52 weeks with commits
0/18Commit volume0 commits in the last year
0/10OpenSSF Scorecard: Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Inputs used
commits_last_year0
human_commit_share0.857
days_since_last_push627
active_weeks_last_year0
How it's scored
16.2/27Ships releases12 version tags (no GitHub releases)
0/36Release recencylatest release 2,290 days ago
12.6/27Release cadencea release every ~207.7 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count12
latest_release_tagv2.0.0
releases_from_tagsyes
days_since_latest_release2,290
mean_days_between_releases207.7
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

52Moderate · 17% of overall
How it's scored
19.1/60Stars16 stars
4/25Forks4 forks
0/15Watchers1 watchers
Inputs used
forks4
stars16
watchers1
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges0
has_contributingno
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno
How it's scored
80/80Monthly downloads50,547,239 downloads/month across npm
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagescompare-func
dependents
ecosystemsnpm
total_downloads
monthly_downloads50,547,239
unverified_packages_excluded
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

60Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
4.6/22.5Commit distributiontop contributor authored 79% of commits
6.8/13.5Contributor breadth5 contributors
10/10OpenSSF Scorecard: Contributorsproject has 15 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled5
top_contributor_share0.794
How it's scored
42/42Issue resolution100% of issues closed
22.5/30PR acceptance15/20 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
3/15OpenSSF Scorecard: Code-ReviewFound 2/7 approved changesets -- score normalized to 2
Inputs used
merged_prs15
open_issues0
closed_issues2
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio1
closed_unmerged_prs5
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backingpersonal (user) account
0/20Verified domainnot applicable to user accounts
21.7/25Owner reach1,038 followers of stevemao
25/25Track record499 public repos, account ~12 yr old
Inputs used
followers1,038
owner_typeUser
is_verified
owner_loginstevemao
public_repos499
account_age_days4,613
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable1 package(s) on npm
4/35Publish recencylatest publish 2,290 days ago
20/20Version history12 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagescompare-func
ecosystemsnpm
any_deprecatedno
min_days_since_publish2,290

Engineering Quality

Are baseline engineering and documentation practices in place?

28At Risk · 19% of overall
How it's scored
0/24CI workflows
0/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests0 out of 12 merged PRs checked by a CI test -- score normalized to 0
Inputs used
has_cino
has_testsno
has_editorconfigyes
has_linter_configno
has_precommit_configno

Documentation

60Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics1 topics
10/10Wiki
Inputs used
topicshacktoberfest
has_wikiyes
homepage
docs_site
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

45Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
0/2.5CI-Tests0 out of 12 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-ReviewFound 2/7 approved changesets -- score normalized to 2
2.5/2.5Contributorsproject has 15 contributing companies or organizations
0/10Dangerous-Workflowno data
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
0/7.5Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
0/5Packagingno data
0/5Pinned-Dependenciesno data
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsno data
0/7.5Vulnerabilities31 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated13
scorecard_versionv5.5.0
checks_inconclusive5
scorecard_aggregate3.1
Excluded from scoring (no data or not applicable): Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
25/25Indirect dependencies free of known advisoriesno indirect dependency carries a known advisory
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages3
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the npm:compare-func@2.0.0 runtime dependency closure — what installing the published package pulls in — 3 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

25At Risk · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
16.8/40Legible commit history17 of 54 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.315
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
0/22Automated tests
0/11Lint / format config
0/11Static type checking
10/10Reproducible environmentlockfile
0/10Demonstrated agent practiceno agent-authored commits among the last 63
8/8Automated maintenance9 of the last 63 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesno data
Inputs used
has_nixno
has_testsno
lockfilespackage-lock.json
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0.143
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable codeJavaScript without a type-check config
55/55Manageable file sizes0/2 source files over 60KB
Inputs used
primary_languageJavaScript
largest_source_bytes1,802
source_files_sampled2
oversized_source_files0

Key facts

16GitHub stars
5contributors
0commits, last 12 months
627days since last push
12releases
1bus factor
0open issues
npmpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 4 ⇿
0Stars
4Forks
3Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

1223344412018-032020-072022-10
Major 1Minor 0Patch 2

Each point covers 5 days.

OpenSSF Scorecard 3.1 / 10
3.1aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-08-23 00:23 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests0 out of 12 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 2/7 approved changesets -- score normalized to 2
10Contributorsproject has 15 contributing companies or organizations
n/aDangerous-Workflowno workflows found
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
0Maintained0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
0Vulnerabilities31 existing vulnerabilities detected
Direct dependencies 1
RegistryPackageVersion constraintManifest
npmdot-prop^7.2.0package.json
All dependencies 155

Full resolved dependency set from the GitHub dependency graph: 1 direct and 154 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
npmdot-prop7.2.0direct
npm@ungap/promise-all-settled1.1.2indirect
npmajv6.12.6indirect
npmansi-colors4.1.1indirect
npmansi-regex5.0.1indirect
npmansi-styles4.3.0indirect
npmanymatch3.1.3indirect
npmargparse1.0.10indirect
npmargparse2.0.1indirect
npmasn10.2.4indirect
npmassert-plus1.0.0indirect
npmasynckit0.4.0indirect
npmaws-sign20.7.0indirect
npmaws41.11.0indirect
npmbalanced-match1.0.2indirect
npmbcrypt-pbkdf1.0.2indirect
npmbinary-extensions2.2.0indirect
npmbrace-expansion1.1.11indirect
npmbraces3.0.3indirect
npmbrowser-stdout1.3.1indirect
npmcamelcase6.2.0indirect
npmcaseless0.12.0indirect
npmchalk4.1.2indirect
npmchokidar3.5.3indirect
npmcli1.0.1indirect
npmcliui7.0.4indirect
npmcolor-convert2.0.1indirect
npmcolor-name1.1.4indirect
npmcombined-stream1.0.8indirect
npmconcat-map0.0.1indirect
npmconsole-browserify1.1.0indirect
npmcore-util-is1.0.2indirect
npmcoveralls3.1.1indirect
npmdashdash1.14.1indirect
npmdate-now0.1.4indirect
npmdebug4.3.3indirect
npmdecamelize4.0.0indirect
npmdelayed-stream1.0.0indirect
npmdiff5.0.0indirect
npmdom-serializer0.2.2indirect
npmdomelementtype1.3.1indirect
npmdomelementtype2.2.0indirect
npmdomhandler2.3.0indirect
npmdomutils1.5.1indirect
npmecc-jsbn0.1.2indirect
npmemoji-regex8.0.0indirect
npmentities1.0.0indirect
npmentities2.2.0indirect
npmescalade3.1.1indirect
npmescape-string-regexp4.0.0indirect
npmesprima4.0.1indirect
npmexit0.1.2indirect
npmextend3.0.2indirect
npmextsprintf1.3.0indirect
npmfast-deep-equal3.1.3indirect
npmfast-json-stable-stringify2.1.0indirect
npmfill-range7.1.1indirect
npmfind-up5.0.0indirect
npmflat5.0.2indirect
npmforever-agent0.6.1indirect
npmform-data2.3.3indirect
npmfs.realpath1.0.0indirect
npmfsevents2.3.3indirect
npmget-caller-file2.0.5indirect
npmgetpass0.1.7indirect
npmglob7.2.0indirect
npmglob-parent5.1.2indirect
npmgrowl1.10.5indirect
npmhar-schema2.0.0indirect
npmhar-validator5.1.5indirect
npmhas-flag4.0.0indirect
npmhe1.2.0indirect
npmhtmlparser23.8.3indirect
npmhttp-signature1.2.0indirect
npminflight1.0.6indirect
npminherits2.0.4indirect
npmis-binary-path2.1.0indirect
npmis-extglob2.1.1indirect
npmis-fullwidth-code-point3.0.0indirect
npmis-glob4.0.3indirect
npmis-number7.0.0indirect
npmis-plain-obj2.1.0indirect
npmis-typedarray1.0.0indirect
npmis-unicode-supported0.1.0indirect
npmisarray0.0.1indirect
npmisexe2.0.0indirect
npmisstream0.1.2indirect
npmjs-yaml3.14.1indirect
npmjs-yaml4.1.0indirect
npmjsbn0.1.1indirect
npmjshint2.13.6indirect
npmjson-schema0.4.0indirect
npmjson-schema-traverse0.4.1indirect
npmjson-stringify-safe5.0.1indirect
npmjsprim1.4.2indirect
npmlcov-parse1.0.0indirect
npmlocate-path6.0.0indirect
npmlodash4.17.21indirect
npmlog-driver1.2.7indirect
npmlog-symbols4.1.0indirect
npmmime-db1.49.0indirect
npmmime-types2.1.32indirect
npmminimatch3.0.4indirect
npmminimatch4.2.1indirect
npmminimist1.2.6indirect
npmmocha9.2.2indirect
npmms2.1.2indirect
npmms2.1.3indirect
npmnanoid3.3.1indirect
npmnormalize-path3.0.0indirect
npmoauth-sign0.9.0indirect
npmonce1.4.0indirect
npmp-limit3.1.0indirect
npmp-locate5.0.0indirect
npmpath-exists4.0.0indirect
npmpath-is-absolute1.0.1indirect
npmperformance-now2.1.0indirect
npmpicomatch2.3.1indirect
npmpsl1.8.0indirect
npmpunycode2.1.1indirect
npmqs6.5.3indirect
npmrandombytes2.1.0indirect
npmreadable-stream1.1.14indirect
npmreaddirp3.6.0indirect
npmrequest2.88.2indirect
npmrequire-directory2.1.1indirect
npmsafe-buffer5.2.1indirect
npmsafer-buffer2.1.2indirect
npmserialize-javascript6.0.0indirect
npmsprintf-js1.0.3indirect
npmsshpk1.16.1indirect
npmstring-width4.2.2indirect
npmstring_decoder0.10.31indirect
npmstrip-ansi6.0.0indirect
npmstrip-json-comments1.0.4indirect
npmstrip-json-comments3.1.1indirect
npmsupports-color7.2.0indirect
npmsupports-color8.1.1indirect
npmto-regex-range5.0.1indirect
npmtough-cookie2.5.0indirect
npmtunnel-agent0.6.0indirect
npmtweetnacl0.14.5indirect
npmtype-fest2.19.0indirect
npmuri-js4.4.1indirect
npmuuid3.4.0indirect
npmverror1.10.0indirect
npmwhich2.0.2indirect
npmworkerpool6.2.0indirect
npmwrap-ansi7.0.0indirect
npmwrappy1.0.2indirect
npmy18n5.0.8indirect
npmyargs16.2.0indirect
npmyargs-parser20.2.4indirect
npmyargs-unparser2.0.0indirect
npmyocto-queue0.1.0indirect
Dependency advisories 0

Installing npm:compare-func@2.0.0 pulls in 3 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsnpm.