Displaying 1 to 11 from 11 results

httpinvoke - A no-dependencies HTTP client library for browsers and Node

  •    Javascript

A no-dependencies HTTP client library for browsers and Node.js with a promise-based or Node.js-style callback-based API to progress events, text and binary file upload and download, partial response body, request and response headers, status code. Any one, two or three arguments can be skipped, except the url.

node-promise-mysql

  •    Javascript

Promise-mysql is a wrapper for mysqljs/mysql that wraps function calls with Bluebird promises. Usually this would be done with Bluebird's .promisifyAll() method, but mysqljs/mysql's footprint is different to that of what Bluebird expects. At the minute only the standard connection (using .createConnection()) and the pool (using .createPool()) is supported. createPoolCluster is not implemented yet.




cancellation - A method for making async operations cancellable

  •    Javascript

Returns an 'empty' CancellationToken (one that will never be cancelled). Calls cb when the cancellation token is cancelled (this is probably currently the most useful of these methods).

yaku - A lightweight promise library

  •    Javascript

Yaku is full compatible with ES6's native Promise, but much faster, and more error friendly. If you want to learn how Promise works, read the minimum implementation yaku.aplus. Without comments, it is only 80 lines of code (gzipped size is 0.5KB). It only implements the constructor and then. Yaku passed all the tests of promises-aplus-tests, promises-es6-tests, and even the core-js tests.


es6-promise-pool - Runs Promises in a pool that limits their concurrency.

  •    Javascript

Runs Promises in a pool that limits their concurrency. An ECMAScript 2015 Promise is a great way to handle asynchronous operations. The Promise.all function provides an easy interface to let a bunch of promises settle concurrently.

pg-bluebird - PostgreSQL client extension for bluebird promise support

  •    Javascript

pg-bluebird module is designed to bring Promises/A+ ability to well known pg module. You can use it just like standard pg module with promise support instead of async callback functions. Please see the example below.

potential - An educational Promises/A+ spec compliant promise library

  •    Javascript

Potential was written as an exercise in passing the full Promises/A+ spec. Emphasis is on adhering to the spec language and commenting the source code accordingly, so as to serve as an educational example. Extended methods such as catch, all, map, and spread are also included. Potential is neither performance-optimized nor designed for maximum safety in production use (e.g. providing type checks, antipattern warnings and similar). Instead, it concentrates on relatively straightforward source code written using recent language features. For a highly performant, feature-rich, robust promise library, check out Bluebird.