RepoPilot

sindresorhus/escape-string-regexp vs trekhleb/javascript-algorithms

trekhleb/javascript-algorithms shows stronger signals overall

As of June 2026, javascript-algorithms shows healthier maintenance signals than escape-string-regexp. javascript-algorithms rates Healthy overall while escape-string-regexp rates Mixed. escape-string-regexp last saw a commit 1 year ago with 8+ active contributors, while javascript-algorithms was committed to 1 day ago with 34+ active contributors. Both use the MIT license. Neither has known critical or high-severity CVEs in its dependency tree.

Informational only. RepoPilot summarises public signals at the time of analysis. Not professional, security, or legal advice.

sindresorhus/escape-string-regexp

Mixed

Stale — last commit 1y ago

HealthyDependency

Permissive license, no critical CVEs, actively maintained — safe to depend on.

HealthyFork & modify

Has a license, tests, and CI — clean foundation to fork and modify.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

last commit was 1y ago; Scorecard "Branch-Protection" is 0/10…

  • Stale — last commit 1y ago
  • Concentrated ownership — top contributor handles 55% of recent commits
  • Scorecard: marked unmaintained (0/10)
  • Scorecard: default branch unprotected (0/10)
  • 8 active contributors
  • MIT licensed
  • CI configured
  • Tests present

What would improve this?

  • Deploy as-is MixedHealthy if: 1 commit in the last 180 days; bring "Branch-Protection" to ≥3/10 (see scorecard report)

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against OpenSSF Scorecard

trekhleb/javascript-algorithms

Healthy

Healthy across the board

HealthyDependency

Permissive license, no critical CVEs, actively maintained — safe to depend on.

HealthyFork & modify

Has a license, tests, and CI — clean foundation to fork and modify.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

HealthyDeploy as-is

No critical CVEs, sane security posture — runnable as-is.

  • Concentrated ownership — top contributor handles 57% of recent commits
  • Last commit today
  • 34+ active contributors
  • MIT licensed
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Signal-by-signal breakdown

escape-string-regexpjavascript-algorithms
Stars598196,135
Last commit1y ago1d ago
LicenseMITMIT
Open issues0400
Has tests
Has CI
Test coverage33%5%
Dependency CVEsNo CVEsNo CVEs
Architecture gradeA
Cycles0
Bottom-lineMixed signalsHealthy signals

Want the full analysis? sindresorhus/escape-string-regexp · trekhleb/javascript-algorithms

Ask AI about sindresorhus/escape-string-regexp vs trekhleb/javascript-algorithms

Open the chat with a comparison question pre-filled.