spex
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

SPEX

Specialized Promise Extensions.

Build Status Node Version

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

Installing

$ npm i spex

Usage

import {batch, errors} from 'spex';

await batch([1, 2, 3])
    .catch((err: errors.BatchError) => {
    });

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 © 2025 Vitaly Tomilov; Released under the MIT license.

Package Sidebar

Install

npm i spex

Weekly Downloads

548,227

Version

4.0.1

License

MIT

Unpacked Size

60.6 kB

Total Files

16

Last publish

Collaborators

  • vitaly.tomilov