TypeScript Promise

Open-source TypeScript projects categorized as Promise Edit details

Top 23 TypeScript Promise Projects

  • serialport

    Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!

    Project mention: I've been streaming hardware driver development using node. If you've ever wondered what's involved when talking to hardware, but were put off by needing to know C or kernel internals, you might enjoy this | reddit.com/r/javascript | 2022-01-31

    It really depends. The stuff I'm doing in this video for example is writing a driver stack for a device called the Bus Pirate. Communication is done over serial (which is easy in node with the serialport library). The bus pirate is a device that allows you to talk to other devices over different protocols, including SPI, I2C, and OneWire (as well as bit banging, where you control some electrical signals directly any way you want using software). So while it's not something you'd do directly in production, you can actually test communication with devices in JS in a fast, iterative, interactive way without having to use a microcontroller. You can actually figure out all of your design decisions there and port your code to the microcontroller later if you're building some kind of embedded system device, potentially saving a lot of time and debugging.

  • wretch

    A tiny wrapper built around fetch with an intuitive syntax. :candy:

    Project mention: Why I'm ditching Axios (Spoiler: I moved to Wretch!) | dev.to | 2022-05-09

    Wretch Wretch on the other hand takes the function chaining approach. It split common error types into separate helper methods so you don't need to result in an interceptor every time

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • p-queue

    Promise queue with concurrency control

    Project mention: First Personal Project [HTML, CSS, JS], Hopefully a Viable Portfolio Piece - Any Advice Is Welcome! (+ GitHub in Comments) | reddit.com/r/webdev | 2022-02-06

    in addition to that, if you actually have to make so many requests one day, use something like promise queue where you can limit the concurrent requests made and prevent making hundreds of requests simultaneously which will often result in a server automatically blocking the requests

  • vue-promised

    💝 Composable Promises & Promises as components

    Project mention: Proper way to use vue-apollo with vue3 | reddit.com/r/vuejs | 2021-12-10

    Thirdly, right now your code is not declared as async although an api call in the real world always takes a fair amount of time. So I'd make this composable async or put everything into an async function which returns a promise. I'm quite a fan of everything "posva" (Eduardo, core member) does. Besides the vue-router and Pinia (the new Vuex) he's created vue-promised which I use a lot. It easily allows you to easily setup a loading status, too.

  • basic-ftp

    FTP client for Node.js, supports FTPS over TLS, passive mode over IPv6, async/await, and Typescript.

  • post-me

    📩 Use web Workers and other Windows through a simple Promise API

  • EVT

    💧EventEmitter's typesafe replacement

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

  • next-session

    Simple promise-based session middleware for Next.js, micro, Express, and more

    Project mention: Auth: What do do with a returned jwt | reddit.com/r/nextjs | 2021-11-19

    You can store JWT in localStorage or cookies, as well as you can store next-session. But If you want to use JWT in localStorage or cookies in safe way by encrypting key and value both. For encryption you can use any type of encryption method.

  • trilogy

    TypeScript SQLite layer with support for both native C++ & pure JavaScript drivers. (by haltcase)

    Project mention: Trilogy – GitHub-built MySQL client library written in C | news.ycombinator.com | 2021-12-15

    Naming is hard and conflicts are easy, but this project clashes with my own project called Trilogy. Both for SQL-family, although mine is in the JavaScript realm. I'm not too surprised someone followed the logic did to get the name.

    Not a huge project but has some users, and I still try to work on it to get the typings (TypeScript) where I want them.


  • foy

    A simple, light-weight, type-friendly and modern task runner for general purpose.

  • prray

    "Promisified" Array, it compatible with the original Array but comes with async versions of native Array methods

  • cofx

    A node and javascript library that helps developers describe side-effects as data in a declarative, flexible API.

    Project mention: I Avoid Async/Await | news.ycombinator.com | 2022-04-16
  • mongodb-cron

    MongoDB collection as crontab

    Project mention: I Learned To Code And Launched A Social Media Scheduling Platform [$2K/Month SaaS] | reddit.com/r/SaaS | 2021-11-03

    What language do you use? I'm using this lib: mongodb cron which is super light, and easy to use. You can just use a for loop to spin up X number of crons so you can have heaps going at the same time.

  • io-ts-promise

    io-ts for developers who like Promises

    Project mention: Notes on Advanced TypeScript: Runtime Validations | dev.to | 2022-05-04

    There are more improvements we could make, but we should have a basic understanding of why it might be useful to validate any external data at runtime. io-ts offers more features handling recursive and optional types. Furthermore there are libraries like io-ts-promise that provide more features and useful helpers, the above decodePromise, for example, is available in a more advanced variant via io-ts-promise.

  • fsf

    A typesafe websocket client-server framework which thins the borders between clients and servers.

  • react-modal-promise

    Ease way to use React modal components as Promise

    Project mention: Is it possible to stop a function, get user input via modal, and then resume? Codesandbox example within. | reddit.com/r/reactjs | 2022-05-02

    So, I did find the package react-modal-promise, and it does exactly what you said I need: returns a promise that is pending until the user takes some action. I've implemented it in my code, and it's working perfectly.

  • memoized-node-fetch

    A wrapper around node-fetch (or any other fetch-like function) that returns a single promise until it resolves.

  • mst-effect

    💫 Designed to be used with MobX-State-Tree to create asynchronous actions using RxJS.

  • etsy-ts

    Etsy API wrapper written in typescript

    Project mention: Are there any developers here that have worked with the etsy API | reddit.com/r/Etsy | 2022-06-07

    Honestly, the hardest thing to figure out is the OAuth2 Handshake, token scopes, and how to update the rolling token/retry requests that fail from that. It's much more annoying to configure than the previous iteration, but not really much different than a lot of 3rd party APIs. I dug through this repo: https://github.com/Granga/etsy-ts/tree/master/src and have extended it for my needs, mostly just adding convenience functions as my application is only concerned with my shop and the repo is more generic.

  • real-cancellable-promise

    Cancellable promise library for JavaScript and TypeScript.

    Project mention: Are you sure you know Promises? | dev.to | 2022-06-29

    Even though #2 was the first and the result of #1 is ignored, #1 also ran to completion! In case process #1 must stop when process #2 "won" the race, then you need something like a cancellable promise! (There are other ways... You can do your own research by searching for "Why can't you cancel promises?").

  • msn-weather

    ☀ A simple MSN Weather API wrapper with built-in TypeScript support.

  • use-promise

    Making Promises in your components a breeze 🌬️

    Project mention: How do I convert Promise<string> object to string for use in href? | reddit.com/r/typescript | 2022-05-10

    Shameless self plug for use-promise. This hook allows you to get the status and result of a Promise so you can use it in your component.

  • promises

    Composable Functions for Promises (by jahed)

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

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 2022-06-29.

TypeScript Promise related posts


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

Project Stars
1 serialport 5,302
2 wretch 2,451
3 p-queue 2,253
4 vue-promised 1,671
5 basic-ftp 543
6 post-me 457
7 EVT 387
8 next-session 274
9 trilogy 242
10 foy 215
11 prray 117
12 cofx 91
13 mongodb-cron 89
14 io-ts-promise 70
15 fsf 55
16 react-modal-promise 51
17 memoized-node-fetch 27
18 mst-effect 19
19 etsy-ts 18
20 real-cancellable-promise 16
21 msn-weather 9
22 use-promise 8
23 promises 3
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.