trekhleb/javascript-algorithms
๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings
โก Executive Summary & Quick Facts
Authoritative Sourcejavascript-algorithms is javascript-algorithms is an open-source project written in JavaScript: ๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings..
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of November 2026), trekhleb/javascript-algorithms has accumulated 196,714 GitHub stars and 30,999 forks. It is written in JavaScript, licensed under MIT, and ranks #24 globally. It is actively maintained with the latest commit recorded on Jul 26, 2026.”
| Repository | trekhleb/javascript-algorithms โ |
|---|---|
| Primary Category | algorithm |
| Language & Stack | JavaScript |
| Software License | MIT |
| Community Traction | โ 196.7K stars ยท โ 31K forks ยท #24 globally |
| Maintenance | โ Active (Last commit: Jul 26, 2026) ยท 434 open issues |
| Target Audience | Developers and engineering teams building with JavaScript, seeking reliable, tested, and actively maintained tooling for production workloads. |
๐ก๏ธ Repository Maintenance & Health Audit (2026)
Health Score: 83/100 ยท Grade BYes, javascript-algorithms is actively maintained. Continuous telemetry recorded the last code commit on Jul 26, 2026 (110 days ago). Supported by 196,714 stars and 30,999 community forks, this repository holds a calculated health index of 83/100, reflecting periodic maintenance (110 days ago) and active community feedback (434 open).
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_badge) [](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_badge) [](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_badge) [](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_badge) [](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_badge)
Momentum
+0
STARS ยท LAST 30 DAYS
1
PER DAY
#3
MOST-STARRED JavaScript
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +0 | +0 | +90 |
| Per day | 1 | 1 | 1 |
| Forks gained | +0 | +0 | +1.6K |
javascript-algorithms gained 0 stars in the last 30 days, about 1 a day, and now has 196.7K. It is about 9 years old and has averaged roughly 21.9K stars a year. It ranks #3 among JavaScript repositories and #24 across all languages on GitHubRepo.
Trending Record
45
DAYS ON TRENDING
#20
BEST RANK
Sep 23, 2026
FIRST APPEARANCE
Active
STATUS TODAY
javascript-algorithms has maintained a continuous presence across global trending indexes, peaking at #20. Below is the 30-day activity profile:
๐ก Overview
javascript-algorithms is an open-source project written in JavaScript: ๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings.
Engineered for speed, consistency, and developer ease, it solves common hurdles in algorithm, algorithms, computer-science. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
โก Key Features
Optimized execution pipeline written in JavaScript for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
๐ฅ Installation
$ npm install javascript-algorithms
โ System Requirements
Platforms
- โข macOS
- โข Linux
- โข Windows
Runtime & Dependencies
Node.js >= 18 or modern Evergreen browser
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
๐ง How It Works
javascript-algorithms coordinates its core functionality through a modular JavaScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
๐ฏ Production Use Cases
Production System Integration
Embed javascript-algorithms into JavaScript backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open MIT license.
๐ Getting Started
Install javascript-algorithms using your package manager: `npm install javascript-algorithms`
Initialize your project workspace or configuration file for javascript-algorithms.
Import javascript-algorithms into your codebase or invoke it directly from your terminal.
Execute your test suite or run `javascript-algorithms --help` to verify successful setup.
๐ Strengths
โ ๏ธ Considerations
โ Alternatives & Direct Competitors
๐ฅ Who Should Use This
Developers and engineering teams building with JavaScript, seeking reliable, tested, and actively maintained tooling for production workloads.
๐ Nearby in the Rankings
trekhleb/javascript-algorithms is currently ranked #24 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #19 | ossu/computer-science | HTML | โ 210.6K | Compare โ |
| #20 | DigitalPlatDev/FreeDomain | Markdown | โ 206.5K | Compare โ |
| #21 | tensorflow/tensorflow | C++ | โ 201.6K | Compare โ |
| #22 | yt-dlp/yt-dlp | Python | โ 199.9K | Compare โ |
| #23 | massgravel/Microsoft-Activation-Scripts | Batchfile | โ 197K | Compare โ |
| #24 | trekhleb/javascript-algorithms This Project | JavaScript | โ 196.7K | |
| #25 | firecrawl/firecrawl | TypeScript | โ 196.1K | Compare โ |
| #26 | microsoft/vscode | TypeScript | โ 195.3K | Compare โ |
| #27 | ultraworkers/claw-code | Rust | โ 194.8K | Compare โ |
| #28 | microsoft/markitdown | Python | โ 193.4K | Compare โ |
| #29 | avelino/awesome-go | Go | โ 193.4K | Compare โ |
Frequently Asked Questions
What does javascript-algorithms do? +
๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings
Is javascript-algorithms actively maintained in 2026? +
Yes, javascript-algorithms is actively maintained. The latest code push was recorded on Jul 26, 2026 (110 days ago). It holds a calculated Maintenance Health Score of 83/100 (B rating) with 196,714 stars and 434 open issues.
What language is javascript-algorithms written in? +
The primary language is JavaScript. Topics include: algorithm, algorithms, computer-science, data-structures, interview.
How many stars does javascript-algorithms have? +
javascript-algorithms has 196,714 stars and 30,999 forks on GitHub.
How does javascript-algorithms rank among GitHub repositories? +
With 196,714 stars, trekhleb/javascript-algorithms is ranked #24 globally across all repositories tracked on GitHubRepo and #3 among JavaScript projects.
What license is javascript-algorithms distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.