@jlmorgan/promise-extras
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

Promise Extras

Docs

Collection of extras for Promises.

Installation

Using npm:

npm install --save @jlmorgan/promise-extras

Usage

Node.js

const { rejectIf } = require("@jlmorgan/promise-extras");
// or
const { resolveIf } = require("@jlmorgan/promise-extras/resolveIf");

Typescript

import { rejectIf } from "@jlmorgan/promise-extras";
// or
import { resolveIf } from "@jlmorgan/promise-extras/resolveIf";

Package Sidebar

Install

npm i @jlmorgan/promise-extras

Weekly Downloads

0

Version

2.1.1

License

MIT

Unpacked Size

40 kB

Total Files

56

Last publish

Collaborators

  • jlmorgan