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: 2024-11-20 00:18:47 UTC
- JSON Representation
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/shiningjason/load-script
💫 A simple async script loader for modern browsers.
async browser javascript load-js load-script npm-package promise
Last synced: 06 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: 17 Oct 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/shinnn/output-file
Write a file and create its ancestor directories if needed
ancestor-directories async javascript mkdir mkdirp nodejs promise writefile
Last synced: 18 Oct 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: 18 Oct 2024
https://github.com/kritollm/concurrent-wrapper
Easily add logic to limit concurrent execution of any function returning a Promise.
async concurrent max parallel promise
Last synced: 08 Nov 2024
https://github.com/qard/stream-produce-promise
Write to streams with a promise-returning function
Last synced: 17 Oct 2024
https://github.com/kekyo/future-promise
future-promise implements at C++ from scratch
async c-plus-plus cps future promise
Last synced: 30 Oct 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: 18 Oct 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/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/markusjx/n-api-tools
A toolbox for node-addon-api
javascript n-api nodejs promise
Last synced: 15 Oct 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: 12 Nov 2024
https://github.com/rodrigo-lima/thenkit
Promises/A+ implementation in Swift 2 inspired by Pinky - http://lazd.github.io/Pinky/
Last synced: 13 Oct 2024
https://github.com/wsmd/sleepsort-promise
😴 A Promise based implementation of SleepSort
algorithm promise sleepsort sort sorting-algorithms
Last synced: 04 Nov 2024
https://github.com/uditalias/promise-chunkify
Like Promise.all, but with concurrency.
Last synced: 12 Nov 2024
https://github.com/neogeek/raspar
⛏ A simple to use Promise-based web scraper with local caching.
Last synced: 27 Oct 2024
https://github.com/dinoboff/git-spawned-promise
Promisify a git child process, settling once the process exits and its stdio streams and transformers close.
Last synced: 14 Oct 2024
https://github.com/mtripg6666tdr/async-lock
Promise based simple mutex for JS: preventing from running same code block at the same time.
async async-lock browser javascript lock mutex nodejs promise promise-lock
Last synced: 06 Nov 2024
https://github.com/merieli/alura-crudcomjavascriptassincrono
html-css javascript promise promise-api
Last synced: 14 Nov 2024
https://github.com/jasonraimondi/nestjs-axios-promise
A thin wrapper around Axios for Nest.js using Promises, because the @nestjs/axios package returns an observable.
axios http-client nestjs nestjs-axios nestjs-http promise
Last synced: 09 Nov 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: 18 Oct 2024
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: 11 Nov 2024
https://github.com/waldemarnt/concurrent-promises
This package allows safe promise concurrency
concurrency concurrent-programming limit promise promises promises-concurrent
Last synced: 24 Oct 2024
https://github.com/nerdify/redis-cache
Minimalist cache function for redis
cache hacktoberfest promise promises redis
Last synced: 10 Oct 2024
https://github.com/jiangjie/promisetoasync
Convert promise to async function.
Last synced: 09 Nov 2024
https://github.com/allienx/async-once
Guarantee an async function only has one active execution at a time.
Last synced: 11 Nov 2024
https://github.com/felixble/js-callback-hell
Approach to write clean JavaScript code by avoiding the callback hell.
async-await async-programming asynchronous callback-functions callback-hell es2015 es6 javascript promise pyramid-of-doom
Last synced: 19 Oct 2024
https://github.com/idorobots/promise-based-lang
An exploration & benchmarking of weird programming language features. This time around - pure and transparent asynchrony.
benchmark concurrency language-design promise racket
Last synced: 02 Nov 2024
https://github.com/robojones/create-path
Promise version of mkdirp
async create javascript mkdir nodejs path promise
Last synced: 14 Oct 2024
https://github.com/bitbar/deferred-promise
Simple port of jQuery Deffered() based on native Promise
deferred deferred-promise javascript nodejs promise promises
Last synced: 13 Nov 2024
https://github.com/kouhin/retryit
A Promise version of async/retry. Also includes serveral WaitStrategies that might be useful for situations where more well-behaved service polling is preferred.
Last synced: 25 Oct 2024
https://github.com/shinnn/fettuccine-class
A class to create a new fettuccine wrapper that defaults to the given options
class fetch http https javascript nodejs promise request
Last synced: 18 Oct 2024
https://github.com/shinnn/import-package
Import an npm package from the disk
fallback import javascript nodejs npm package promise
Last synced: 18 Oct 2024
https://github.com/rgl/node-external-process-promises-example
example Node.js application starts an external process and parses its output to resolve two promises
child-process external-process javascript node promise promises typescript
Last synced: 25 Oct 2024
https://github.com/shinnn/readdir-clean
Like `fs.readdir`, but excludes autogenerated contents for example .DS_Store and Thumbs.db
filesystem filter javascript list nodejs promise readdir
Last synced: 18 Oct 2024
https://github.com/shinnn/resolve-from-npm
Resolve the path of a module from the directory where npm is installed
async javascript module nodejs npm path promise require resolution
Last synced: 18 Oct 2024
https://github.com/shinnn/get-mode
Get a file mode
async filesystem javascript nodejs permission promise stats
Last synced: 18 Oct 2024
https://github.com/jmgogo/async-js
A repo demoing asynchronous functions and HTTP requests in JavaScript.
async await devcontainer ijavascript javascript js jupyter-notebook promise
Last synced: 06 Nov 2024
https://github.com/shinnn/spawn-stack
Spawn a new process using `stack` command with the given arguments
child-process haskell javascript nodejs observable promise spawn stack
Last synced: 18 Oct 2024
https://github.com/robtimus/completion-stage
A port of Java's CompletionStage using promises
completablefuture completionstage javascript promise promises typescript
Last synced: 17 Nov 2024
https://github.com/kengotoda/promisified-properties
Handle .properties file via promisified and typed API
Last synced: 22 Oct 2024
https://github.com/tobysmith568/await-at-least
A small set of functions to await at least a certain amount of time before resolving a promise.
await delay npm-package promise timeout
Last synced: 22 Oct 2024
https://github.com/saikiran76/hacktoberfest2k23
Promisify - Function that returns a promise that resolves after n seconds have passed, where n is passed as an argument to the function.
beginner beginner-friendly hacktoberfest hacktoberfest-2023 hacktoberfest-accepted hacktoberfest2023 hacktoberfest2023-accepted hacktoberfest2023-approved javascript promise promises web
Last synced: 08 Nov 2024
https://github.com/afeiship/next-is-promise
Test whether an object looks like a promises-a+ promise.
Last synced: 26 Oct 2024
https://github.com/afeiship/next-interceptor
Interceptor for next.
compose interceptor next pipe pipeline priority promise
Last synced: 27 Oct 2024
https://github.com/shinnn/lstat
Promise-based `lstat`
async file filesystem fs javascript lstat nodejs promise promisified promisify
Last synced: 18 Oct 2024
https://github.com/shinnn/parse-npm-version
Parse the installed npm version with node-semver
async javascript nodejs npm parse promise semantic-versioning semver version
Last synced: 18 Oct 2024
https://github.com/sidmishraw/parole
JobPool and Promises for Java
futures promise promise-api promises
Last synced: 15 Nov 2024
https://github.com/shinnn/real-executable-path
Find the first instance of an executable in the PATH, with expanding all symbolic links
async executable javascript nodejs promise symbolic-links symlink
Last synced: 18 Oct 2024
https://github.com/shinnn/load-request-from-cwd-or-npm
Load `request` module from either CWD or npm CLI directory
efficiency javascript nodejs npm promise request
Last synced: 18 Oct 2024
https://github.com/shinnn/home-files
List all files in the home directory
async enumeration home javascript list nodejs promise
Last synced: 18 Oct 2024
https://github.com/shinnn/file-to-npm-cache
Store a file in the npm cache directory
cache compression gzip javascript nodejs npm promise tar tgz
Last synced: 18 Oct 2024
https://github.com/magicdawn/log-reject-error
Dead Simple unhandledRejection handler
loud-rejection promise reject unhandled-rejection
Last synced: 27 Oct 2024
https://github.com/arpitgo4/promise-obj
Promise.all's implementation for objects.
async chai chai-as-promised mocha nodejs npm-package promise tdd
Last synced: 14 Oct 2024
https://github.com/anas599/leaderboard
Leaderboard website built with webpack. Players can view and submit scores, which are ranked and stored through an external API service. Data is preserved for accuracy.
async css html javascript promise webpack
Last synced: 27 Oct 2024
https://github.com/adrien-zinger/pytasks
Multithreading library in python, simple, with samples.
asynch-tasks observer observer-pattern promise python3 task-thread thread
Last synced: 27 Oct 2024
https://github.com/yuhr/use-await-data
A React hook that executes an async task to populate the desired data.
async await hook hooks promise react react-hooks
Last synced: 14 Oct 2024
https://github.com/illright/worker-request-response
A Promise API for submitting requests to workers and tracking responses.
promise service-workers web-workers
Last synced: 15 Oct 2024
https://github.com/jaandrle/dynamic_resources
Yet another lightweight promise-based scripts/stylesheets loader (no support for IE).
async css dynamic-loading javascript promise
Last synced: 02 Nov 2024
https://github.com/benadamstyles/set-future-state
Safely setState in the future
cancellation futures promise react react-native reactjs setstate
Last synced: 15 Oct 2024
https://github.com/evgenyatlas/get-server-response-time
ecmascript javascript nodejs promise
Last synced: 06 Nov 2024
https://github.com/xiyuyizhi/ww.ajax
自己封装的ajax库,支持回调和promise形式,上传、下载等
ajax file-upload filesystem promise
Last synced: 13 Oct 2024
https://github.com/kaelzhang/p-concurrency
Decorate async functions with limited concurrency, which can be used as decorator in the future.
async concurrency javascript nodejs promise
Last synced: 26 Oct 2024
https://github.com/helderberto/respper
📡 Node.JS: Response wrapper.
express expressjs http nodejs promise response respper wrapper-api wrapper-library
Last synced: 13 Oct 2024
https://github.com/awaitbox/sleep
Await for a certain amount of time.
async async-await async-functions await promise promise-library sleep sleep-timer
Last synced: 06 Nov 2024
https://github.com/kaelzhang/node-simple-thenify
Make sure a function is thenable
javascript nodejs promise thenify
Last synced: 26 Oct 2024
https://github.com/preco21/pcancel
Wrap promise function into cancelable promise function
cancel cancelable cancellation p promise
Last synced: 10 Nov 2024
https://github.com/omar-azmi/async-promise-ruby
An Asynchronous Promise library for Ruby, built over "async" gem, providing Javascript ES6 style Promises. Also includes utilities like ES6-style "fetch" that return a Promise.
async asynchronous concurrency es6 promise ruby ruby-gem rubygem
Last synced: 17 Oct 2024
https://github.com/yuhr/callable-deferred-promise
A thin wrapper class to create a callable deferred `Promise`.
Last synced: 14 Oct 2024
https://github.com/dbish6/async-delay-callback
A small dependency for asynchronous delays within your code! It also includes an optional callback that you can utilize.
async delay dependency javascript jest npm npm-package promise promises typescript
Last synced: 14 Oct 2024
https://github.com/camel-chased/promiseloop
for testing nested promises
jasmine nested-promises promise promises test testing tests
Last synced: 05 Nov 2024
https://github.com/romancow/load-script
Promise-based method for dynamically loading scripts in browser with TypeScript support
async browser load promise script typescript
Last synced: 14 Oct 2024
https://github.com/softwareventures/promise
Pure functional utilities for Promises
functional lambda promise typescript
Last synced: 12 Nov 2024
https://github.com/kenotron/p-graph
p-graph, in the spirit of p-queue, but runs promises in a dependency graph
dependency graph javascript promise typescript
Last synced: 17 Oct 2024
https://github.com/xiaody/redux-sane
A redux middleware that provides sane default behaviors for non-plain object actions.
generator promise redux-middleware thunk
Last synced: 16 Nov 2024
https://github.com/29kumait/out-of-sync
HYF - TASK
async async-await javascript promise promises
Last synced: 14 Nov 2024
https://github.com/patrixr/oath
A Promise implementation
experimental learning promise typescript
Last synced: 06 Nov 2024
https://github.com/thitikorn-nupan/nod-js-crud-mysql-async-understand-winston-env
this project I got to know .env file , it's so good when I've to connect any database I'm not necessary to write my info-database in my .js file. Also I've knew the winston module this libary it's good for logging and save any log to some file. Also I connected the database with pg (pooling) many people says best proformance. (So do I)
async-await environment javascript mysql nodejs pooling promise winston-logger
Last synced: 06 Nov 2024
https://github.com/ivanovx/js-docs
JavaScript Next features and their demos
dynamic ecmascript ecmascript6 es2015 es6 iterator javascript promise proxies spread string-interpolation unicode weakmap weakset
Last synced: 06 Nov 2024