JSPM

  • Created
  • Published
  • Downloads 613653
  • Score
    100M100P100Q183376F
  • License MIT

Specialized Promise Extensions

Package Exports

  • spex

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (spex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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 i spex

Usage

const promise = require('bluebird');
const spex = require('spex')(promise);
  • For ES6 Promise:
const 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 © 2020 Vitaly Tomilov; Released under the MIT license.