JavaScript Algorithm

Open-source JavaScript projects categorized as Algorithm

Top 23 JavaScript Algorithm Projects

  • javascript-algorithms

    📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

    Project mention: Minecraft Grub Theme | news.ycombinator.com | 2023-07-18

    I'm reminded of the time when some kid wrote a script to crawl GitHub and create issues[1] about using inclusive language... except it was really dumb, for example: https://github.com/trekhleb/javascript-algorithms/pull/875/f...

    [1] E.g.: https://github.com/EbookFoundation/free-programming-books/pu...

  • algorithm-visualizer

    :fireworks:Interactive Online Platform that Visualizes Algorithms from Code

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • JavaScript

    Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)

    Project mention: 🧙‍♂️Master JavaScript with these 5 GitHub repositories🪄✨🚀 | dev.to | 2024-03-16

    4. The Algorithm - Javascript

  • javascript-algorithms

    💻 JavaScript implementations of computer science algorithms (by mgechev)

  • dsa.js-data-structures-algorithms-javascript

    🥞Data Structures and Algorithms explained and implemented in JavaScript + eBook

  • ngraph.path

    Path finding in a graph

    Project mention: Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrapping | news.ycombinator.com | 2024-02-23
  • rbush

    RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles

    Project mention: React Virtualisation from scratch | dev.to | 2023-10-06

    There's a great library call rbush written by mourner which suits our purpose perfectly! Please do give a star to the repository if you like!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • delaunator

    An incredibly fast JavaScript library for Delaunay triangulation of 2D points

    Project mention: Using Voronoi polygons for simplified continent generation | /r/proceduralgeneration | 2023-05-05

    Well, the easiest option would probably be to use a different Delaunay/Voronoi library. Delaunator (C# bindings here) should be a pretty good option: it's fast, and there's a good explanation of how to use the data structures it generates. There is some weirdness with how points at the edge of the domain work that you may have to work around, but that will probably be easier than trying to modify another algorithm or write your own. I know I've struggled to implement the algorithms for calculating Voronoi diagrams/Delaunay triangulations, even though I feel like I have a decent high-level understanding of how Fortune's algorithm is supposed to work.

  • earcut

    The fastest and smallest JavaScript polygon triangulation library for your WebGL apps

  • supercluster

    A very fast geospatial point clustering library for browsers and Node.

  • blog

    Life is a moment :notebook_with_decorative_cover: (by MuYunyun)

  • flatbush

    A very fast static spatial index for 2D points and rectangles in JavaScript 🌱

    Project mention: Databases are the endgame for data-oriented design | news.ycombinator.com | 2023-12-06

    > (There are ECS frameworks in JavaScript, which gives you absolutely no control over memory layout and thus completely defeats one of the primary purposes of the pattern.)

    While JS does not provide great support for bit packing complex structs, typed arrays give you quite a bit of control over memory layout for simple numeric types, which is what you usually want for optimal data-oriented code anyway. This is a common technique used in fast JS libs for data visualization, ie:

    https://github.com/mourner/flatbush

    There are also basic operators required for bitarrays, which are useful for ECS and memory-efficient code generally.

  • leetcode-the-hard-way

    LeetCode The Hard Way - From Absolute Beginner to Quitter. Join Discord: https://discord.com/invite/Nqm4jJcyBf

    Project mention: After 3 years of LeetCode | /r/leetcode | 2023-08-25

    Some contributors and I also upload tutorials & solutions with explanations here. If you like the project, please give it a star on the repository. Also you can join the study group here.

  • Free-Algorithms-Books

    Free Algorithms books for programmers.

    Project mention: I do not understand DSA 😭 | /r/learnprogramming | 2023-07-12
  • wild-wild-path

    🤠 Object property paths with wildcards and regexps 🌵

  • algotrader

    Simple algorithmic stock and option trading for Node.js.

    Project mention: algotrader: NEW Derivatives and Hedging - star count:615.0 | /r/algoprojects | 2023-10-28
  • carden

    Flashcards with spaced repetition and gamification 🌱

  • flot-downsample

    Downsample plugin for Flot charts.

  • AlgorithmVisualizer

    A better visualization of different algorithms made with React

  • algorithms-js

    Consumable Data Structures and Algorithms library in JavaScript

    Project mention: A novel GitHub issues phishing vector | news.ycombinator.com | 2024-02-20
  • jsColorblindSimulator

    Simulate different kinds of colorblindness on images in your browser.

  • wild-wild-utils

    🤠 Functional utilities using object property paths with wildcards and regexps 🌵

  • playlistShuffle

    A web application to shuffle/randomize Youtube Playlist

    Project mention: I made a shuffler for Youtube palylists | /r/reactjs | 2023-04-25
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-16.

JavaScript Algorithm related posts

Index

What are some of the best open-source Algorithm projects in JavaScript? This list will help you:

Project Stars
1 javascript-algorithms 181,113
2 algorithm-visualizer 46,015
3 JavaScript 30,888
4 javascript-algorithms 7,801
5 dsa.js-data-structures-algorithms-javascript 7,481
6 ngraph.path 2,975
7 rbush 2,345
8 delaunator 2,177
9 earcut 2,084
10 supercluster 1,996
11 blog 1,587
12 flatbush 1,360
13 leetcode-the-hard-way 807
14 Free-Algorithms-Books 747
15 wild-wild-path 713
16 algotrader 620
17 carden 418
18 flot-downsample 266
19 AlgorithmVisualizer 223
20 algorithms-js 194
21 jsColorblindSimulator 91
22 wild-wild-utils 33
23 playlistShuffle 15
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com