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-11 00:19:46 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/a-x-/parallel
Runs a bunch of promises like Promise.all does, but takes an object instead of array
Last synced: 11 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/davidgtonge/pdi
Node.JS Promise based DI library
dependency-injection di-container promise
Last synced: 07 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/neki-dev/promise-partial
🧩 Partial (mixed) promise execution
Last synced: 27 Oct 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/darky/klubok
Do notation pipes for Promise-based or pure functions which easy to mock
do-notation functional-programming javascript mock pipe promise typescript unit-testing
Last synced: 11 Jan 2025
https://github.com/gabemeola/resolve-chain
Chains pending promises and captures resolved return values
Last synced: 19 Nov 2024
https://github.com/snowyu/promise-sequence.js
Sequnence execution promise.
asynchronous pipeline promise sequence
Last synced: 30 Dec 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/wolven531/promise-tests
Used to demonstrate and explain different promise and async concepts and libraries
async async-await asynchronous javascript js nodejs promise promise-library promises react reactjs reactts ts typescript
Last synced: 27 Dec 2024
https://github.com/npkgz/async-magic
Promises FTW! A pure promised based, async toolbox for Node.js >=7.6
async async-await control-flow es2017 javascript library nodejs promise promisify toolbox
Last synced: 11 Jan 2025
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/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/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/fibo/read-file-utf8
reads content from file using utf-8 encoding
Last synced: 02 Jan 2025
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/ljans/idb
Promise-based wrapper around the IndexedDB API.
Last synced: 23 Nov 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/prohetamine/forpromise
⚙️ While for promise
javascript npm npm-package promise
Last synced: 19 Nov 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/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/ramchaik/batch-promise
Effortlessly Manage Promise Execution in JavaScript
batching npm-package parallelism promise typescript
Last synced: 15 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/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/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/avivharuzi/promise-all-batch
Call concurrent promises in batches
batch concurrency esm javascript nodejs promise typescript
Last synced: 24 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/jzplp/promisejz
符合Promises/A+规范的Javascript异步编程Promise的完整实现,并且提供了与ECMAScript同样的实用函数。
Last synced: 29 Dec 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/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/woubuc/deferred
A Promise that can be resolved externally
async deferred javascript promise typescript
Last synced: 24 Nov 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/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/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/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/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/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/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/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/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/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/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/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/dmitrymyadzelets/ya-translate
Node.js module for Yandex Translate's API
api node-module promise tranalte yandex
Last synced: 15 Nov 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/jonathanstowe/manifesto
Make a supply of the results of Promises
Last synced: 15 Dec 2024
https://github.com/wenzhang-dev/libz
modern c++ codebase
asio asynchronous-programming coroutine grpc promise
Last synced: 22 Nov 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/rousan/es6-promise-shim
A lightweight implementation of Promise in pure ES5 code for older JS engines
es es6 es6-harmony es6-promise es6-promise-shim javascript-promise polyfill ponyfill promise promise-implementations promise-library promise-polyfill promise-shim
Last synced: 22 Nov 2024
https://github.com/thomaschampagne/promise-tron
PromiseTron is a promise based communication system which simplify data exchange between electron main and renderer processes
electron ipcmain ipcrenderer promise
Last synced: 22 Nov 2024
https://github.com/kevinokerlund/cancellable-promise
An extension of native ES6 Promises that provides the ability to cancel and/or clear promise chains.
clear-promise-chains es6-promise javascript-promise native-es6-promises promise promise-cancelling promise-chain promises
Last synced: 22 Nov 2024
https://github.com/seanghay/promisive
Recursive Promise.all that works on object and array
Last synced: 22 Nov 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
https://github.com/martinsbicudo/promise-with-events
Simple lib to use promises with events :pager:
events javascript promise promise-with-events typescript
Last synced: 22 Nov 2024