spex

:bulb: Specialized Promise Extensions

Specialized Promise Extensions

Build Status Coverage Status Downloads Count Join the chat at https://gitter.im/vitaly-t/spex

batch, page, sequence - promise methods for the following patterns: * Data Throttling & Load Balancing * Linked and Detached Sequencing * Streaming and Paging * Batch Processing

Installing

$ npm install spex

Usage

  • For any Promises/A+ library: Promise, Bluebird, When, Q, RSVP, etc. javascript var promise = require('bluebird'); var spex = require('spex')(promise);
  • For ES6 Promise: javascript var spex = require('spex')(Promise);

See also: client-side usage.

API

Testing

  • Clone the repository (or download, if you prefer):
$ git clone https://github.com/vitaly-t/spex
  • Install the library’s DEV dependencies:
$ npm install
  • To run all tests:
$ npm test
  • To run all tests with coverage:
$ npm run coverage

License

Copyright © 2016 Vitaly Tomilov; Released under the MIT license.

Related Repositories

spex

spex

:bulb: Specialized Promise Extensions ...

spex

spex

Test harness for executables ...

es-ray-spex

es-ray-spex

A place for me to sketch out specs and proposals for ES. ...

spex

spex

This repository is meant to facilitate running experiments with spearmint. ...

compass-spex

compass-spex

Handy compass/sass stuff ...