@promises/-all
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@promises/-all

Source Code Version MIT License Bundle Size

All is a group of packages of Promises library

Use

Module

$ npm install --save @promises/-all
import {
 compose,
 create,
 delay,
 doWhileParallel,
 doWhileSeries,
 error,
 everyParallel,
 everySeries,
 exec,
 filterParallel,
 filterSeries,
 finally,
 forEachParallel,
 forEachRightSeries,
 forEachSeries,
 forever,
 fromCallback,
 fromEvent,
 isPromise,
 keys,
 mapParallel,
 mapSeries,
 next,
 parallel,
 promisify,
 reduceRightSeries,
 reduceSeries,
 rejectParallel,
 rejectSeries,
 reset,
 retry,
 series,
 sleep,
 someParallel,
 someSeries,
 spread,
 timeout,
 timer,
 timesParallel,
 timesSeries,
 toCallback,
 wait,
 whileParallel,
 whileSeries,
 wrap
} from '@promises/-all';

Browser

<script src="https://unpkg.com/@promises/-all/bundle.umd.min.js"></script>
let {
 compose,
 create,
 delay,
 doWhileParallel,
 doWhileSeries,
 error,
 everyParallel,
 everySeries,
 exec,
 filterParallel,
 filterSeries,
 finally,
 forEachParallel,
 forEachRightSeries,
 forEachSeries,
 forever,
 fromCallback,
 fromEvent,
 isPromise,
 keys,
 mapParallel,
 mapSeries,
 next,
 parallel,
 promisify,
 reduceRightSeries,
 reduceSeries,
 rejectParallel,
 rejectSeries,
 reset,
 retry,
 series,
 sleep,
 someParallel,
 someSeries,
 spread,
 timeout,
 timer,
 timesParallel,
 timesSeries,
 toCallback,
 wait,
 whileParallel,
 whileSeries,
 wrap
} = P;

Functional programming

Module

$ npm install --save @promises/-all
import {
 __,
 error,
 everyParallel,
 everySeries,
 filterParallel,
 filterSeries,
 finally,
 forEachParallel,
 forEachRightSeries,
 forEachSeries,
 mapParallel,
 mapSeries,
 next,
 reduceRightSeries,
 reduceSeries,
 rejectParallel,
 rejectSeries,
 reset,
 sleep,
 someParallel,
 someSeries,
 timesParallel,
 timesSeries,
 toCallback,
 wait
} from '@promises/-all/fp';

Browser

<script src="https://unpkg.com/@promises/-all/fp/bundle.umd.min.js"></script>
let {
 __,
 error,
 everyParallel,
 everySeries,
 filterParallel,
 filterSeries,
 finally,
 forEachParallel,
 forEachRightSeries,
 forEachSeries,
 mapParallel,
 mapSeries,
 next,
 reduceRightSeries,
 reduceSeries,
 rejectParallel,
 rejectSeries,
 reset,
 sleep,
 someParallel,
 someSeries,
 timesParallel,
 timesSeries,
 toCallback,
 wait
} = PF;

Wrapper

Module

$ npm install --save @promises/-all
import Promises from '@promises/core';
import '@promises/-all/add';

Or

import Promises from '@promises/-all/add';

Browser

<script src="https://unpkg.com/@promises/core/bundle.umd.min.js"></script>
<script src="https://unpkg.com/@promises/-all/add/bundle.umd.min.js"></script>
let {
 Promises
} = P;

Compatibility

These modules are written in typescript and available in ES5 and ES6 standard, the requirements are a global Promise (native or polyfill).

License

Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.

Package Sidebar

Install

npm i @promises/-all

Weekly Downloads

3

Version

0.5.0

License

MIT

Unpacked Size

817 kB

Total Files

39

Last publish

Collaborators

  • yisraelx