trekhleb/javascript-algorithms
๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings
Star History
Momentum
+4.9K
STARS ยท LAST 30 DAYS
164
PER DAY
#3
MOST-STARRED JavaScript
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +1.1K | +4.9K | +14.8K |
| Per day | 164 | 164 | 164 |
| Forks gained | +155 | +620 | +1.6K |
javascript-algorithms gained 4.9K stars in the last 30 days, about 164 a day, and now has 196.8K. It is about 9 years old and has averaged roughly 21.9K stars a year. It ranks #3 among JavaScript repositories and #20 across all languages on GitHubRepo.
Trending Record
6
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 #20 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #15 | vuejs/vue | TypeScript | โ 212.8K | Compare โ |
| #16 | anomalyco/opencode | TypeScript | โ 210.4K | Compare โ |
| #17 | ossu/computer-science | HTML | โ 209.5K | Compare โ |
| #18 | DigitalPlatDev/FreeDomain | Markdown | โ 201.4K | Compare โ |
| #19 | tensorflow/tensorflow | C++ | โ 200.6K | Compare โ |
| #20 | trekhleb/javascript-algorithms This Project | JavaScript | โ 196.8K | |
| #21 | ultraworkers/claw-code | Rust | โ 195.3K | Compare โ |
| #22 | yt-dlp/yt-dlp | Python | โ 193.9K | Compare โ |
| #23 | microsoft/vscode | TypeScript | โ 193.2K | Compare โ |
| #24 | massgravel/Microsoft-Activation-Scripts | Batchfile | โ 192.1K | Compare โ |
| #25 | ohmyzsh/ohmyzsh | Shell | โ 190K | Compare โ |
Frequently Asked Questions
What does javascript-algorithms do? +
๐ Algorithms and data structures implemented in JavaScript with explanations and links to further readings
What language is javascript-algorithms written in? +
The primary language is JavaScript. Topics include: algorithm, algorithms, computer-science, data-structures, interview.
Is javascript-algorithms actively maintained? +
Yes, the last recorded push was on Jul 26, 2026 with 407 open issues being tracked.
How many stars does javascript-algorithms have? +
javascript-algorithms has 196,824 stars and 31,019 forks on GitHub.
How does javascript-algorithms rank among GitHub repositories? +
With 196,824 stars, trekhleb/javascript-algorithms is ranked #20 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.