Repository brief

trekhleb/javascript-algorithms

Read the upstream summary on the left, browse the cached forks below it, and load each fork comparison into the right-hand panel.

Cached analysis
cached 2026-03-29T22:02:52.805Z
3mo ago

trekhleb/javascript-algorithms

A large Node.js/JavaScript repository of algorithms and data structures with per-topic explanations, examples, and further-reading links. It is highly popular and actively maintained, with very high fork and star counts and recent commits as of 2026-02-18.

GitHub
Loading tags...
Stars195,761
Forks31,099
Default branchmaster
Last pushed2026-02-18T09:20:06Z
Recommended shortcuts

Jump straight into Discofork's strongest cached fork picks, or open a compare view in one click.

Forks

Choose a fork to inspect

6 of 6 fork briefs
Selected

Prefer this fork only if you want its older, customized state and are prepared to maintain it yourself. If you want a current algorithms reference library with active upkeep, upstream is the better choice.

Prefer upstream unless you specifically want a static snapshot; this fork adds no visible capabilities and is materially behind on fixes, content, and toolchain updates.

Prefer upstream for almost any active use. Choose this fork only if you specifically want an older frozen copy and do not need the newer fixes, dependency upgrades, or added explanations present upstream.

Choose this fork only if you want a frozen, historically interesting algorithms reference with extra example material. If you want current maintenance, latest fixes, and ongoing compatibility, upstream is the better default.

Prefer upstream unless you specifically need the fork’s custom additions and are willing to absorb a stale, heavily diverged codebase. This fork is best viewed as an archived customization branch, not the default choice for new adopters.

Prefer upstream unless you specifically want a mostly unchanged historical snapshot. This fork offers no clear functional expansion, while its long inactivity and 102-commit lag make it a weak choice for adopters who want current fixes or ongoing maintenance.

trekhleb/javascript-algorithms · Discofork