promise-fun - Promise packages, patterns, chat, and tutorials

  •        9

I intend to use this space to document my promise modules, useful promise patterns, and how to solve common problems. For now though, you can see all my promise modules below.Star this repo to show your interest, so I can know whether to prioritize this work.

https://github.com/sindresorhus/promise-fun

Tags
Implementation
License
Platform

   




Related Projects

p-progress - Create a promise that reports progress


Useful for reporting progress to the user during long-running async operations.Same as the Promise constructor, but with an appended progress parameter in executor.


awesome-promises - A curated list of useful resources for JavaScript Promises


Inspired by the awesome list thing. Not to be confused with other awesome promises like "I promise you a million dollars" or "I promise you'll stay fit and never have to go to the gym again".These implement no more or less than the es6 spec. They make great polyfills and are exceptionally compatible with native promises.

kneden - Transpile ES2017 async/await to vanilla ES6 Promise chains: a Babel plugin


This project is currently unmaintained. If you want to take over, feel free to fork the repo. If such a fork gets maintained or contains useful improvements, I'd be willing to merge back and give repo+npm access.WARNING: Kneden is usable, but it's also not complete yet.

promise-polyfill - Lightweight ES6 Promise polyfill for the browser and node. A+ Compliant


Lightweight ES6 Promise polyfill for the browser and node. Adheres closely to the spec. It is a perfect polyfill IE, Firefox or any other browser that does not support native promises. For API information about Promises, please check out this article HTML5Rocks article.

node-sqlite - SQLite client library for Node


A wrapper library that adds ES6 promises and SQL-based migrations API to sqlite3 (docs).🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos.

chillout - Reduce CPU usage in JavaScript


Reduce JavaScript CPU usage by asynchronous iteration. Provides asynchronous iteration functions that have a Promise based interface and it can execute with low CPU usage. Each iteration adds delay if the processing is heavy to maintain the CPU stability. Iterate without delay if processing is fast. Therefore, it will realize friendly processing for your machine. It can execute JavaScript without "Warning: Unresponsive Script" alert in the browser.

idb-keyval - A super-simple-small promise-based keyval store implemented with IndexedDB


This is a super-simple-small promise-based keyval store implemented with IndexedDB, largely based on async-storage by Mozilla. This is only a keyval store. If you need to do more complex things like iteration & indexing, check out IDB on NPM (a little heavier at 1.7k). The first example in its README is how to recreate this library.

node-promise - Promise utilities for Node


MIT License. The node-promise project provides a complete promise implementation. Promises provide a clean separation of concerns between asynchronous behavior and the interface so asynchronous functions can be called without callbacks, and callback interaction can be done on the generic promise interface. The node-promise package provides just a promise implementation, however, https://github.com/kriszyp/promised-io is recommended for more complete promise-based IO functionality. The promised-io includes the promise implementation from node-promise, as well as wrappers around Node's filesystem and other system I/O APIs for consistent promise-based interaction.

AwaitKit - The ES8 Async/Await control flow for Swift


AwaitKit is a powerful Swift library inspired by the Async/Await specification in ES8 (ECMAScript 2017) which provides a powerful way to write asynchronous code in a sequential manner. Internally it uses PromiseKit to create and manage promises.

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


Generator based control flow goodness for nodejs and the browser, using promises, letting you write non-blocking code in a nice-ish way.co@4.0.0 has been released, which now relies on promises. It is a stepping stone towards the async/await proposal. The primary API change is how co() is invoked. Before, co returned a "thunk", which you then called with a callback and optional arguments. Now, co() returns a promise.

jdeferred - Java Deferred/Promise library similar to JQuery.


JDeferred is a Java Deferred/Promise library similar to JQuery's Deferred Object.Inspired by JQuery and Android Deferred Object.

queue - Asynchronous function queue with adjustable concurrency


Asynchronous function queue with adjustable concurrency. This module exports a class Queue that implements most of the Array API. Pass async functions (ones that accept a callback or return a promise) to an instance's additive array methods. Processing begins when you call q.start().