You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.. | ||
lib | 2 years ago | |
typescript | 2 years ago | |
README.md | 2 years ago | |
package.json | 2 years ago |
README.md
Specialized Promise Extensions
batch, page, sequence - promise methods for the following patterns:
- Data Throttling & Load Balancing
- Linked and Detached Sequencing
- Streaming and Paging
- Batch Processing
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.