|
1 năm trước cách đây | |
---|---|---|
.. | ||
lib | 1 năm trước cách đây | |
typescript | 1 năm trước cách đây | |
README.md | 1 năm trước cách đây | |
package.json | 1 năm trước cách đây |
batch, page, sequence - promise methods for the following patterns:
$ npm i spex
For any Promises/A+ library: Promise, Bluebird, When, Q, RSVP, etc.
const promise = require('bluebird');
const spex = require('spex')(promise);
For ES6 Promise:
const spex = require('spex')(Promise);
See also: client-side usage.
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
Copyright © 2020 Vitaly Tomilov; Released under the MIT license.