trekhleb/javascript-algorithms
๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings
196.7k stars ยท 31k forks ยท JavaScript
Caution
Caution: the published package has not been released in two years.
Why
- The npm package javascript-algorithms-and-data-structures has had no release since June 2018, while the repository has 33 human commits in the last year. (source 1, source 2)
What would change this
- A new package release is published.
Maintenance
CompleteSlowing
- Human commits, 30 days
- 0
- Human commits, 90 days
- 3
- Human commits, 365 days
- 33
- Bot share of commits, 365 days
- 0%
- Last commit
- Jul 26, 2026 (2 months ago)
- Last human commit
- Jul 26, 2026 (2 months ago)
- Authors, 90 days
- 1
- Last release
- none found
- Median PR merge time
- 15 days
Responsiveness: of 0 recent issues, n/a got a maintainer reply. Median first response: n/a.
- Only 0 recent issues can be checked for a response, too few to measure response time.
Sources: Commits, Releases, Merged pull requests, Issues
People
Complete- Owner
- Personal account
- Commits sampled
- 33 since Oct 14, 2025
- Authors for half of commits
- 1
- Authors for 80% of commits
- 4
- Contributors
- 211
Top committers
- trekhleb: 55% of commits
- Pierstoval: 12% of commits
- guuszz: 9% of commits
- itsamirhn: 6% of commits
- DeoJin: 3% of commits
Sources: Commits, Contributors
Stars
CompleteOrganic, confidence high
Bursts
- May 21, 2018 to Jun 24, 2018: about 21.6k more stars than usual, peak 3.4k in one day, a spike that tapers off. Outside explanation: a Hacker News post, a jump in issues and pull requests.
- Jul 20, 2018 to Jul 27, 2018: about 1.5k more stars than usual, peak 828 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Dec 14, 2018 to Dec 22, 2018: about 570 more stars than usual, peak 142 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Sep 25, 2019 to Sep 28, 2019: about 268 more stars than usual, peak 138 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Oct 28, 2019 to Oct 29, 2019: about 93 more stars than usual, peak 89 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Dec 5, 2019 to Dec 19, 2019: about 1.5k more stars than usual, peak 350 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Mar 12, 2020 to Mar 15, 2020: about 592 more stars than usual, peak 358 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Apr 1, 2020 to Apr 10, 2020: about 1.3k more stars than usual, peak 445 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- May 25, 2020 to Jun 2, 2020: about 1.2k more stars than usual, peak 406 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Jul 6, 2020 to Jul 8, 2020: about 252 more stars than usual, peak 160 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Jul 28, 2020 to Aug 4, 2020: about 983 more stars than usual, peak 295 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Aug 9, 2020 to Aug 19, 2020: about 1.6k more stars than usual, peak 399 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Oct 28, 2020 to Nov 2, 2020: about 808 more stars than usual, peak 264 in one day, a spike that tapers off. No outside explanation found, so this burst is unexplained.
- Nov 13, 2020 to Nov 19, 2020: about 1.5k more stars than usual, peak 443 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Dec 9, 2020 to Dec 16, 2020: about 1.5k more stars than usual, peak 382 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Feb 3, 2021 to Feb 5, 2021: about 447 more stars than usual, peak 292 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Mar 26, 2021 to Apr 3, 2021: about 2k more stars than usual, peak 525 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Apr 6, 2021 to Apr 6, 2021: about 60 more stars than usual, peak 106 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Apr 27, 2021 to May 3, 2021: about 1.2k more stars than usual, peak 382 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Jun 2, 2021 to Jun 5, 2021: about 568 more stars than usual, peak 247 in one day, a flat block of stars. Outside explanation: a jump in issues and pull requests.
- Jun 21, 2021 to Jun 23, 2021: about 520 more stars than usual, peak 232 in one day, a flat block of stars. Outside explanation: a jump in issues and pull requests.
- Jun 30, 2021 to Jul 1, 2021: about 287 more stars than usual, peak 272 in one day, a spike that tapers off. No outside explanation found, so this burst is unexplained.
- Jul 10, 2021 to Jul 15, 2021: about 1.3k more stars than usual, peak 369 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Aug 10, 2021 to Aug 16, 2021: about 1.1k more stars than usual, peak 252 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Sep 13, 2021 to Sep 18, 2021: about 1.2k more stars than usual, peak 332 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Sep 30, 2021 to Oct 5, 2021: about 727 more stars than usual, peak 226 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Oct 12, 2021 to Oct 29, 2021: about 2.6k more stars than usual, peak 606 in one day, a shape we can't classify. Outside explanation: a Hacker News post, a jump in issues and pull requests.
- Dec 5, 2021 to Dec 13, 2021: about 1.2k more stars than usual, peak 277 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Dec 26, 2021 to Jan 1, 2022: about 1.1k more stars than usual, peak 359 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Apr 4, 2022 to Apr 5, 2022: about 150 more stars than usual, peak 177 in one day, a spike that tapers off. We couldn't check for an outside explanation.
- May 24, 2022 to May 31, 2022: about 1.1k more stars than usual, peak 224 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Jun 27, 2022 to Jul 12, 2022: about 963 more stars than usual, peak 201 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Aug 15, 2022 to Aug 20, 2022: about 954 more stars than usual, peak 330 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Aug 26, 2022 to Aug 31, 2022: about 445 more stars than usual, peak 226 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Jan 24, 2023 to Feb 2, 2023: about 2.2k more stars than usual, peak 834 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Apr 7, 2023 to Apr 12, 2023: about 1.3k more stars than usual, peak 561 in one day, a shape we can't classify. Outside explanation: a Hacker News post, a jump in issues and pull requests.
- Aug 21, 2023 to Aug 24, 2023: about 313 more stars than usual, peak 159 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Sep 12, 2023 to Sep 13, 2023: about 118 more stars than usual, peak 131 in one day, a spike that tapers off. We couldn't check for an outside explanation.
- Sep 24, 2023 to Sep 27, 2023: about 330 more stars than usual, peak 159 in one day, a spike that tapers off. We couldn't check for an outside explanation.
- Dec 6, 2023 to Dec 11, 2023: about 390 more stars than usual, peak 152 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- Apr 14, 2024 to Apr 19, 2024: about 783 more stars than usual, peak 218 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- May 22, 2024 to May 23, 2024: about 206 more stars than usual, peak 193 in one day, a spike that tapers off. We couldn't check for an outside explanation.
- Sep 21, 2024 to Sep 25, 2024: about 349 more stars than usual, peak 180 in one day, a shape we can't classify. No outside explanation found, so this burst is unexplained.
- Jul 3, 2025 to Jul 9, 2025: about 388 more stars than usual, peak 168 in one day, a spike that tapers off. No outside explanation found, so this burst is unexplained.
- Aug 2, 2025 to Aug 4, 2025: about 346 more stars than usual, peak 211 in one day, a spike that tapers off. Outside explanation: a jump in issues and pull requests.
- Oct 27, 2025 to Oct 29, 2025: about 137 more stars than usual, peak 96 in one day, a spike that tapers off. We couldn't check for an outside explanation.
- Nov 13, 2025 to Nov 14, 2025: about 89 more stars than usual, peak 86 in one day, a spike that tapers off. We couldn't check for an outside explanation.
- Nov 28, 2025 to Dec 9, 2025: about 697 more stars than usual, peak 156 in one day, a shape we can't classify. Outside explanation: a jump in issues and pull requests.
- 14 stars GitHub has since removed (tracked since Oct 13, 2026).
Anyone can buy stars for any repo; bursts alone don't prove the owner did.
- The star history looks organic.
Sources: How star history is analyzed
Risk
CompleteFlags
- Warning: The latest release of the npm package javascript-algorithms-and-data-structures was published more than 24 months ago, while the repository has had 33 human commits in the last year (deps.dev). Details
License
- Now
- MIT (OSI-approved)
- A year ago
- MIT (OSI-approved)
Packages
- javascript-algorithms-and-data-structures (NPM): latest 0.0.4, published Jun 2, 2018
Advisories for the latest version: none listed
Package and advisory data: deps.dev and OSV.
OpenSSF Scorecard: 4.6 out of 10 (via deps.dev).
Sources: GitHub: trekhleb/javascript-algorithms, deps.dev: npm javascript-algorithms-and-data-structures
Badge
Add this to a README to show the current verdict:
[](https://reporadar.ai/trekhleb/javascript-algorithms)Earlier verdicts
- Oct 14, 2026: Caution
- Oct 13, 2026: Caution
- Oct 13, 2026: Caution