JavaScript Control Flow

Open-source JavaScript projects categorized as Control Flow

Top 23 JavaScript Control Flow Projects

Control Flow
  1. async

    Async utilities for node and the browser

    Project mention: Cool NPM Packages for web Dev </> | dev.to | 2024-11-06

    Link:https://www.npmjs.com/package/async

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. Bluebird

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

    Project mention: Promise: How to Use and Some Notes! | dev.to | 2024-06-09

    Bluebird is a very good Promise library that provides many utility functions to make working with asynchronous functions easier.

  4. co

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

    Project mention: Unlocking the Power of JavaScript Generators: Master Asynchronous Programming with Ease | dev.to | 2024-06-21

    Leverage Libraries: Libraries like co can help manage generators and asynchronous code, providing a more streamlined experience.

  5. Javascript State Machine

    A javascript finite state machine library

  6. when

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

  7. Fluture

    🦋 Fantasy Land compliant (monadic) alternative to Promises

  8. step

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

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. pify

    Promisify a callback-style function

  11. p-map

    Map over promises concurrently

    Project mention: Improving JavaScript Performance: Understanding Async Tasks in Arrays | dev.to | 2024-08-27

    p-map is a lightweight library that helps you handle asynchronous operations on arrays with controlled concurrency. It allows you to map over an array of promises and specify a limit on the number of concurrent operations. This is particularly useful when you need to perform tasks like fetching data from multiple URLs, processing files, or interacting with APIs, as it helps prevent overwhelming your server or exceeding API rate limits. By using p-map, you can strike a balance between speed and resource management, ensuring that your application remains stable and responsive under load.

  12. zen-observable

    An Implementation of Observables for Javascript

  13. contra

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

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

  15. delay

    Delay a promise a specified amount of time

  16. suspend

    Callback-free control flow for Node using ES6 generators.

  17. js-csp

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

  18. zone

    Flow control and error handling for Node.js

  19. modern-async

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

  20. angular-async-loader

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

  21. pinkie-promise

    Promise ponyfill with pinkie

  22. promise-breaker

    Helps you write libraries that accept both promises and callbacks.

  23. bluebird-co

    A set of high performance yield handlers for Bluebird coroutines

  24. cpsfy

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

  25. promise-memoize

    Memoize promise-returning functions. Includes cache expire and prefetch.

  26. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
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).

JavaScript Control Flow discussion

Log in or Post with

JavaScript Control Flow related posts

  • Improving JavaScript Performance: Understanding Async Tasks in Arrays

    1 project | dev.to | 27 Aug 2024
  • Handling Large Numbers of Promises in Node JS

    1 project | dev.to | 26 Jun 2024
  • Unlocking the Power of JavaScript Generators: Master Asynchronous Programming with Ease

    1 project | dev.to | 21 Jun 2024
  • Promise: How to Use and Some Notes!

    1 project | dev.to | 9 Jun 2024
  • Main-Thread-Scheduling

    4 projects | news.ycombinator.com | 4 Jan 2024
  • Avoid the Promise.all pitfall

    1 project | dev.to | 12 Oct 2023
  • Sindresorhus/delay: NPM package to delay a promise specified amount of time

    1 project | news.ycombinator.com | 5 Jun 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 25 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 async 28,237
2 Bluebird 20,456
3 co 11,889
4 Javascript State Machine 8,724
5 when 3,435
6 Fluture 2,489
7 step 2,203
8 pify 1,504
9 p-map 1,416
10 zen-observable 886
11 contra 778
12 neo-async 652
13 delay 610
14 suspend 548
15 js-csp 281
16 zone 279
17 modern-async 203
18 angular-async-loader 135
19 pinkie-promise 117
20 promise-breaker 85
21 bluebird-co 76
22 cpsfy 70
23 promise-memoize 62

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?