15270821319 4e5c5d37f9 初步设计数据库,注册登录 10 mesi fa
..
lib 4e5c5d37f9 初步设计数据库,注册登录 10 mesi fa
typescript 4e5c5d37f9 初步设计数据库,注册登录 10 mesi fa
README.md 4e5c5d37f9 初步设计数据库,注册登录 10 mesi fa
package.json 4e5c5d37f9 初步设计数据库,注册登录 10 mesi fa

README.md

Specialized Promise Extensions

Build Status Coverage Status

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

Installing

$ npm i spex

Usage

  • 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.

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.