Skip to content

Latest commit

 

History

History
85 lines (63 loc) · 2.31 KB

README.md

File metadata and controls

85 lines (63 loc) · 2.31 KB

Specialized Promise Extensions

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

batch, page, sequence - promise methods for the following patterns:

Installing

$ npm install spex

Usage

var promise = require('bluebird');
var spex = require('spex')(promise);
  • For ES6 Promise:
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.