Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
Promise
A promise is an object returned by an asynchronous function, which represents the current state of the operation. At the time the promise is returned to the caller, the operation often isn’t finished, but the promise object provides methods to handle the eventual success or failure of the operation.
- GitHub: https://github.com/topics/promise
- Wikipedia: https://en.wikipedia.org/wiki/Futures_and_promises
- Created by: Barbara Liskov, Liuba Shrira, Mark S. Miller, Dean Tribble, Rob Jellinghaus, Daniel P. Friedman
- Released: 1988
- Related Topics: future, async-await, callback, deferred, coroutines, fiber, concurrency,
- Last updated: 2025-01-06 00:24:51 UTC
- JSON Representation
https://github.com/lfb/javascript-basics
理解 JavaScript 的基础知识
javascript promise scope-chain
Last synced: 01 Jan 2025
https://github.com/palanik/promiseful
🤞 Useful patterns with Promise functions
javascript promise promise-library
Last synced: 18 Dec 2024
https://github.com/kritollm/retry-wrapper
Easily add retry logic to any function returning a Promise.
Last synced: 01 Jan 2025
https://github.com/appgeist/get-file-from-url
Utility function to download a file from a specified URL
download file nodejs promise server-side utilities
Last synced: 25 Dec 2024
https://github.com/eliranwong/precious-bible-promises
Precious Bible Promises (compiled by Samuel Clarke) [2472 verses tagged]
bible precious-bible-promises promise script tool uniquebible
Last synced: 01 Jan 2025
https://github.com/pranit-harekar/async-middleware
A lightweight promise based async middleware package with complete typings
asynchronous middleware promise typescript
Last synced: 26 Dec 2024
https://github.com/lsongdev/promise.js
:zap: A fast and simple Promise/A+ implementation
Last synced: 02 Jan 2025
https://github.com/keyvan-m-sadeghi/babel-plugin-transform-util-promisify
Transforms util.promisify for node versions < 8
babel babel-plugin promise promisify
Last synced: 26 Dec 2024
https://github.com/cweili/async-throttle-cache
Throttle asynchronous functions and return cached result for each function calls. It can be used for rate limit.
async asynchronous await cache promise rate-limit rate-limiter request throttle
Last synced: 10 Jan 2025
https://github.com/singcl/promise
🦁 Step by step build a Promise Class & Promise/Promise A+
callback coverage david fossa-status promise size then thenable travis-ci
Last synced: 03 Jan 2025
https://github.com/attitude/eslint-config-with-attitude
Opinionated eslint rules for React Native apps
config eslint eslint-config esnext flow import promise react react-native rules standard
Last synced: 17 Nov 2024
https://github.com/artdecocode/spawncommand
Spawn a ChildProcess with a promise property resolved on exit with stdout, stderr and code.
async child-process fork javascript node nodejs promise spawn
Last synced: 08 Jan 2025
https://github.com/wallneradam/node-express-async
Automatically handles unhandled async middleware errors by sending them to next() function.
async-await es6 expressjs javascript node-module nodejs promise
Last synced: 10 Jan 2025
https://github.com/zeekay/broken
💔 Promises are meant to be broken.
es-module javascript promise promises
Last synced: 09 Jan 2025
https://github.com/snowyu/promise-sequence.js
Sequnence execution promise.
asynchronous pipeline promise sequence
Last synced: 30 Dec 2024
https://github.com/ronanyeah/promise-workshop
FAC/GSG Workshop - April 2017
javascript promise promise-workshop tutorial
Last synced: 30 Nov 2024
https://github.com/maxgfr/node-simple-context
A minimalist context for node, inspired by React Context API
async-hooks async-local-storage context context-api global-variables node-context promise typescript
Last synced: 06 Nov 2024
https://github.com/b-gran/promise-plumbing
Functional, Promise-based control flow primitives inspired by async
async control control-flow flow functional functional-programming promise
Last synced: 28 Dec 2024
https://github.com/kubatbekkk/async-race
This TypeScript OOP project involves building an SPA for managing a collection of cars, operating their engines, and displaying race statistics. The project is designed to train the use of async functions in JavaScript, including Promises and async/await, while utilizing OOP principles.
Last synced: 13 Nov 2024
https://github.com/gkovacs/cfy
Use generators and yield to write regular callback-based functions
async-functions callback livescript nodeback promise
Last synced: 30 Dec 2024
https://github.com/ljans/idb
Promise-based wrapper around the IndexedDB API.
Last synced: 23 Nov 2024
https://github.com/gpittarelli/ineedthis
Management of statefull dependencies(/services)
component dependencies javascript mount promise state state-management typescript
Last synced: 24 Nov 2024
https://github.com/fpsska/newgen-vision-task
ajax js-classes promise xmlhttprequest
Last synced: 16 Nov 2024
https://github.com/likerrr/gitfig
Resolves git config
asynchronous config git gitconfig javascript js object promise
Last synced: 14 Nov 2024
https://github.com/prohetamine/forpromise
⚙️ While for promise
javascript npm npm-package promise
Last synced: 19 Nov 2024
https://github.com/gabemeola/resolve-chain
Chains pending promises and captures resolved return values
Last synced: 19 Nov 2024
https://github.com/ashokdey/sendotp-promise
promise bug fixed api for sendotp by msg91
async-await msg91 nodejs promise sendotp travis-ci
Last synced: 30 Nov 2024
https://github.com/tjenkinson/promise-chain-settled
Provides a way of knowing when a promise chain is settled. Useful for testing.
fulfilled promise promise-chain rejected resolved settled testing
Last synced: 21 Dec 2024
https://github.com/swivelgames/underwriter
A simple, yet powerful, Promise Registry.
dependency-injection dependency-manager fetch framework javascript javascript-library nodejs npm npm-package promise
Last synced: 13 Nov 2024
https://github.com/swivelgames/thenable-events
Powerful event-based system that introduces thenable objects to enable promise-like event handling.
emitter es2015 es2015-modules es6 events javascript library modules node nodejs promise promises thenable utilities
Last synced: 13 Nov 2024
https://github.com/goto-bus-stop/p-join
combine results from multiple promises into a single value
Last synced: 13 Nov 2024
https://github.com/anwesh43/memoize_promise_call
Don't promise the same thing again 🙅. Memoize it 💪
memoization node nodejs npm promise
Last synced: 26 Dec 2024
https://github.com/neki-dev/promise-partial
🧩 Partial (mixed) promise execution
Last synced: 27 Oct 2024
https://github.com/radarsu/ts-timeout-promise
Await timeout promise wrapper.
await promise settimeout timeout typescript
Last synced: 13 Nov 2024
https://github.com/shisama/toggle-fullscreen
Simple to use Fullscreen API with Promise for cross-browser.
cross-browser fullscreen fullscreen-api javascript promise
Last synced: 19 Nov 2024
https://github.com/juanjoarreola/osprey
A Library to connect to APIs built on top of URLSession
api-client json json-api multipart networking promise request swift urlsession
Last synced: 16 Nov 2024
https://github.com/wsmd/sleepsort-promise
😴 A Promise based implementation of SleepSort
algorithm promise sleepsort sort sorting-algorithms
Last synced: 21 Dec 2024
https://github.com/rodrigo-lima/thenkit
Promises/A+ implementation in Swift 2 inspired by Pinky - http://lazd.github.io/Pinky/
Last synced: 24 Nov 2024
https://github.com/sohanemon/genius-car-client
readme: axios, react-hook-form, promise handling
axios promise react react-hook-form react-hooks swiper
Last synced: 15 Nov 2024
https://github.com/drulac/cache.js
Little cache lib using localStorage and promises
cache javascript promise promise-api
Last synced: 16 Nov 2024
https://github.com/shiningjason/load-script
💫 A simple async script loader for modern browsers.
async browser javascript load-js load-script npm-package promise
Last synced: 24 Dec 2024
https://github.com/d4nyll/resolve-when
Returns a promise that resolves once condition is met
Last synced: 15 Nov 2024
https://github.com/softspiders/node-fetch-starter
Minimalistic node-fetch starter
fetch isomorphic javascript js min node-fetch promise softspiders ss starter template
Last synced: 15 Nov 2024
https://github.com/avivharuzi/promise-all-batch
Call concurrent promises in batches
batch concurrency esm javascript nodejs promise typescript
Last synced: 24 Dec 2024
https://github.com/pimm/bluster
Test both promises and callbacks in one go
async callback coverage javascript jest promise test
Last synced: 09 Jan 2025
https://github.com/hackerl/aio
A promise-based asynchronous library implemented in C++17 (deprecated - https://github.com/Hackerl/asyncio)
Last synced: 15 Nov 2024
https://github.com/jzplp/promisejz
符合Promises/A+规范的Javascript异步编程Promise的完整实现,并且提供了与ECMAScript同样的实用函数。
Last synced: 29 Dec 2024
https://github.com/ramchaik/batch-promise
Effortlessly Manage Promise Execution in JavaScript
batching npm-package parallelism promise typescript
Last synced: 15 Nov 2024
https://github.com/worker-tools/extendable-promise
A promise that can be delayed (extended) via repeated calls to waitUntil.
Last synced: 16 Nov 2024
https://github.com/apal21/sqs-delayed-notification
Amazon SQS wrapper for delayed notification that can be used for exponential back off for applications such as custom callbacks or webhooks
batch dead-letter-queues notifications promise sqs webhook webhooks
Last synced: 31 Dec 2024
https://github.com/fabervitale/pinky-promise
A Promise A+ spec compliant implementation written in Typescript
promise promise-library promiseaplus typescript
Last synced: 27 Oct 2024
https://github.com/trambarhq/relaks-hacker-news-example
An example of using Relaks to create a Hacker News reader
async asynchronous await hacker-news hn preact promise react relaks
Last synced: 07 Jan 2025
https://github.com/nerdify/redis-cache
Minimalist cache function for redis
cache hacktoberfest promise promises redis
Last synced: 17 Dec 2024
https://github.com/cheprasov/js-worker-thread
The WorkerThread wraps a Web Worker with a Promise, also the class creates a worker script on the fly (without having to create separate worker files). You can "inline" your worker function in the same js file as main logic.
Last synced: 24 Nov 2024
https://github.com/igorskyflyer/npm-common-types
🔦 Provides frequently used types for your TypeScript projects. 🦄
back-end common generic igorskyflyer interface javascript js node promise shared trim ts types typescript
Last synced: 06 Nov 2024
https://github.com/another-guy/promisify-auth0
Auth0-js wrapper with Promise based interface
auth0 authentication authorization browser brucke javascript jwt login oauth2 promise promisify sdk wrapper
Last synced: 14 Dec 2024
https://github.com/d-exclaimation/gocurrent
Go Concurrent Utilities (Breaking changes on go 1.18)
asynchronous future futures go golang promise
Last synced: 29 Dec 2024
https://github.com/stefee/promise-settled-aggregate
Await an array of promises to be settled, then reject with an AggregateError upon failure, or resolve with an array of values upon success.
aggregate aggregateerror allsettled promise promises reject settled
Last synced: 14 Dec 2024
https://github.com/fibo/read-file-utf8
reads content from file using utf-8 encoding
Last synced: 02 Jan 2025
https://github.com/woubuc/deferred
A Promise that can be resolved externally
async deferred javascript promise typescript
Last synced: 24 Nov 2024
https://github.com/bitofsky/async-jstemplate
AJST : Asynchronous JavaScript Template
ajax javascript javascript-templates promise tpl
Last synced: 23 Nov 2024
https://github.com/vitalets/promised-map
A map of promises that can be resolved or rejected by key
Last synced: 21 Dec 2024
https://github.com/cudiph/node-gtrans
Free google translate API
google-translate-api language nodejs promise translator typescript
Last synced: 24 Nov 2024
https://github.com/peakchen90/promise
write a promise polyfill
flow jest polyfill promise promisesaplus rollup
Last synced: 18 Nov 2024
https://github.com/heineiuo/use-promise-state
A React hook for Promise
promise react react-hooks reacthooks use-promise-state use-state
Last synced: 18 Nov 2024
https://github.com/pktcodes/javascript-ajax-basics
Asynchronous JavaScript and XML Basics
ajax api asynchronous-javascript catch css ecmascript fetch-api html http-requests javascript javascript-object-notation promise response then try-catch xmlhttprequest
Last synced: 02 Jan 2025
https://github.com/pktcodes/async-javascript-basics
Asynchronous JavaScript Basics
async-await asynchronous callback callback-hell catch css ecmascript html javascript john-smilga pending promise reject resolve settled synchronous then try-catch
Last synced: 02 Jan 2025
https://github.com/kritollm/cb-topromise-wrapper
Easily convert a function that takes a callback to return a promise instead.
async callback convert promise
Last synced: 18 Nov 2024
https://github.com/nashaofu/parallel-to-serial
Parallel task based on Promise converted to serial task
conversion parallel promise serial
Last synced: 02 Jan 2025
https://github.com/kovalenkovpu/custom-promise
Custom promise implemenation for learning purposes only.
Last synced: 18 Nov 2024
https://github.com/d-band/micro-fs
File system and globbing utilities
copy delete filesystem fs glob move promise
Last synced: 24 Nov 2024
https://github.com/nazar-pc/async-eventer
A tiny library with asynchronous Promise-based implementation of events dispatching and handling
async asynchronous dispatch event handle promise
Last synced: 24 Nov 2024
https://github.com/shinnn/npcache
Manipulate cache of npm packages
cache javascript nodejs npm promise stream
Last synced: 07 Dec 2024
https://github.com/shinnn/reject-unsatisfied-npm-version
Make a Promise rejection unless the currently installed npm CLI satisfies the required version
async javascript nodejs npm promise rejection version
Last synced: 07 Dec 2024
https://github.com/shinnn/load-from-cwd-or-npm
Load a module from either CWD or npm CLI directory
async fallback import javascript loading module-loader nodejs npm promise
Last synced: 07 Dec 2024
https://github.com/shinnn/win-user-installed-npm-cli-path
Resolve the path of `npm-cli.js` included in the user-installed npm on Windows
javascript nodejs npm path promise resolution windows
Last synced: 07 Dec 2024
https://github.com/shinnn/enumerate-files
List all files in a given directory
asynchronous enumeration filesystem javascript list nodejs promise readdir set
Last synced: 07 Dec 2024
https://github.com/ckotzbauer/node-task-runner
A promise-based dependency-free task runner for Node
cli node promise task task-runner
Last synced: 15 Oct 2024
https://github.com/shinnn/output-file
Write a file and create its ancestor directories if needed
ancestor-directories async javascript mkdir mkdirp nodejs promise writefile
Last synced: 07 Dec 2024
https://github.com/shinnn/read-exif
Get Exif data from a JPEG file without reading whole contents
exif javascript jpeg jpg metadata nodejs promise
Last synced: 07 Dec 2024
https://github.com/shinnn/read-utf8-file
Read contents of a UTF-8 file
async filesystem javascript nodejs promise read utf-8
Last synced: 07 Dec 2024
https://github.com/belsrc/eslint-config-belsrc
Collection of ESLint plugin configs
eslint eslint-config import javascript jsx linting promise vue
Last synced: 06 Jan 2025
https://github.com/thaddeusjiang/react-promise-data
Don't wrong again about "isLoading? 🔄 : isError ? ❌ : 👍"
Last synced: 13 Dec 2024
https://github.com/chrisdothtml/pfs
A tiny promise wrapper around fs
filesystem nodejs promise wrapper
Last synced: 30 Nov 2024