JavaScript Control Flow

Open-source JavaScript projects categorized as Control Flow

Top 23 JavaScript Control Flow Projects

  • async

    Async utilities for node and the browser

    Project mention: Avoid the Promise.all pitfall | | 2023-10-12

    Well you could just install the async package which has lots of useful functions like mapLimit which will reduce the burden and only run a number in parallel.

  • Bluebird

    :bird: :zap: Bluebird is a full featured promise library with unmatched performance.

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • q

    A promise library for JavaScript

  • co

    The ultimate generator based flow-control goodness for nodejs (supports thunks, promises, etc)

    Project mention: Main-Thread-Scheduling | | 2024-01-04
  • Javascript State Machine

    A javascript finite state machine library

  • when

    A solid, fast Promises/A+ and when() implementation, plus other async goodies.

  • Fluture

    🦋 Fantasy Land compliant (monadic) alternative to Promises

    Project mention: Ask HN: Who wants to be hired? (December 2023) | | 2023-12-01

    My name is Aldwin. I'm back-end-leaning full-stack (web-) developer with over 13 years of full time professional experience at various software development agencies. Besides that, I have years of hobby-programming and open-source experience, with Fluture[1] being my most well-received.

    I've been leading small teams for the last eight years, focusing on developer enabling work such as process management, devops, software architecture, and coaching.

    I'm very passionately in particular about functional programming, and I'm hoping to coach teams when it comes to the cross-over between functional programming and software architecture - something a lot of developers who are new to FP struggle with.

    Although I have been involved in a huge variety of software types, I'm particularly well-experienced when it comes to real-time, offline-first web-applications and real-time data processing.


  • 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.

  • step

    An async control-flow library that makes stepping through logic easy.

  • pify

    Promisify a callback-style function

  • p-map

    Map over promises concurrently

  • zen-observable

    An Implementation of Observables for Javascript

  • contra

    :surfer: Asynchronous flow control with a functional taste to it

  • neo-async

    Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster

  • delay

    Delay a promise a specified amount of time

    Project mention: Sindresorhus/delay: NPM package to delay a promise specified amount of time | | 2023-06-05
  • suspend

    Callback-free control flow for Node using ES6 generators.

  • js-csp

    CSP channels for Javascript (like Clojurescript's core.async, or Go) THIS IS AN UPSTREAM FORK (by jlongster)

  • zone

    Flow control and error handling for Node.js

  • modern-async

    A modern JavaScript tooling library for asynchronous operations using async/await, promises and async generators

  • angular-async-loader

    Load modules and components asynchronously for angular 1.x application.

  • pinkie-promise

    Promise ponyfill with pinkie

  • promise-breaker

    Helps you write libraries that accept both promises and callbacks.

  • bluebird-co

    A set of high performance yield handlers for Bluebird coroutines

  • cpsfy

    🚀 Tiny goodies for Continuation-Passing-Style functions, fully tested

  • WorkOS

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

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-01-04.

JavaScript Control Flow related posts


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

Project Stars
1 async 28,038
2 Bluebird 20,403
3 q 14,958
4 co 11,863
5 Javascript State Machine 8,588
6 when 3,447
7 Fluture 2,460
8 step 2,213
9 pify 1,495
10 p-map 1,188
11 zen-observable 884
12 contra 772
13 neo-async 645
14 delay 597
15 suspend 548
16 js-csp 283
17 zone 280
18 modern-async 183
19 angular-async-loader 136
20 pinkie-promise 119
21 promise-breaker 85
22 bluebird-co 76
23 cpsfy 70
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.