JavaScript Promise

Open-source JavaScript projects categorized as Promise

Top 23 JavaScript Promise Projects

  • axios

    Promise based HTTP client for the browser and node.js

    Project mention: ManyShiba - The World's Greatest Twitter Bot | | 2024-04-08

    Note, you can use any library for HTTP requests like axios. This example uses the http and node-fetch libraries available on npm.

  • window.fetch polyfill

    A window.fetch JavaScript polyfill.

    Project mention: How do I detect requests initiated by the new fetch standard? How should I detect an AJAX request in general? | /r/codehunter | 2023-07-02

    Most js libraries use XMLHttpRequest and so provide HTTP_X_REQUESTED_WITH: XMLHttpRequest, but neither Chrome's implementation nor Github's polyfill of the new fetch uses a similar header. So how can one detect that the request is AJAX?

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

  • core-js

    Standard Library

    Project mention: Emacs' helm is maintained by one maintaner for 11 years long | | 2023-12-22

    This is surprisingly common. The other example off the top of my head, a single maintainer of a very popular project who had to temporarily abandon it due to lack of funds, is Denis Pushkarev (zloirock) and core.js (

    The majority of OSS projects have most of their contributions by one person (the project leader), and the vast majority of OSS contributors don't do it for their job. It seems nearly every single popular OSS project is like this (one unpaid, maybe sponsored, volunteer doing most of the work); it's not even worth listing projects and names, because you can just pick a couple projects you know and I bet at least one will be an example. Fortunately, most of these people seem to be well-off (probably in part due to the quality of programming jobs), but every once in a while there's someone who's not so fortunate. It should be more common to sponsor maintainers, especially if they are asking for donations provided they can prove that they really need the money (the world we live in, some people who have plenty fake issues to solicit donations, then others who genuinely need and deserve the money are scolded and left unfunded because of them).

  • node-fetch

    A light-weight module that brings the Fetch API to Node.js

    Project mention: Building a README Crawler With Node.js | | 2024-04-08

    To execute the algorithm, we will use Node.js (for the JavaScript runtime) and node-fetch (for network requests). This means we will run the code locally from the command line. For this project, we will have an output folder to store all the README data, as well as a list (queue) of repository URLs to visit. Before diving into the code, it is important to plan the input and output of the algorithm. For this web crawler, we will start at a valid GitHub repository page, which would be one URL string. After visiting each page with a README, we will export the data into a new file. Now lets cover the process of requesting a repository page from a URL. For this, we only care about saving the README file that is displayed, and we will ignore any other links that GitHub displays (such as the navbar). We will send a URL request with node-fetch, and retrieve the result of a HTML string. If we convert the HTML string to a DOM Tree, we can search for a specific element. GitHub stores the README file under a div with the class "markdown-body". We can use a library called 'jsdom' to use Browser API methods, and return a specific node.

  • apisauce

    Axios + standardized errors + request/response transforms.

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


  • postmate

    📭 A powerful, simple, promise-based postMessage library.

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

  • emittery

    Simple and modern async event emitter

  • download

    Download and extract files (by kevva)

  • p-map

    Map over promises concurrently

  • opossum

    Node.js circuit breaker - fails fast ⚡️

  • posterus

    Composable async primitives with cancelation, control over scheduling, and coroutines. Superior replacement for JS Promises.

  • wayne

    Service Worker Routing library for in browser HTTP requests

    Project mention: Created a Server-Sent Event Proxy with Wayne | /r/webdev | 2023-07-01

    Just created a Server-Sent Events Proxy with my Open Source library Wayne. This was the last open issue on GitHub.

  • throat

    Throttle a collection of promise returning functions

  • log-process-errors

    Show some ❤️ to Node.js process errors

  • express-promise-router

    A lightweight wrapper for Express 4's Router that allows middleware to return promises

    Project mention: Node.js 20 is now available | | 2023-04-18
  • rubico

    [a]synchronous functional programming

  • Filehound

    Flexible and fluent interface for searching the file system

  • ppipe

    pipes values through functions, an alternative to using the proposed pipe operator ( |> ) for ES

  • p-state

    Inspect the state of a promise

  • promiviz

    Visualize JavaScript Promises on the browser. Visualize the JavaScript Promise APIs and learn. It is a playground to learn about promises faster, ever!

  • react-use-promise

    React hook for handling promises.

  • smalltalk

    Promise-based Alert, Confirm and Prompt replacement (by coderaiser)

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

JavaScript Promise related posts


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

Project Stars
1 axios 103,912
2 window.fetch polyfill 25,801
3 core-js 23,804
4 node-fetch 8,631
5 apisauce 2,732
6 Fluture 2,464
7 postmate 1,822
8 emittery 1,682
9 download 1,272
10 p-map 1,217
11 opossum 1,203
12 posterus 550
13 wayne 535
14 throat 483
15 log-process-errors 469
16 express-promise-router 377
17 rubico 267
18 Filehound 220
19 ppipe 195
20 p-state 126
21 promiviz 93
22 react-use-promise 91
23 smalltalk 90
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.