small-node-promise

A small library for basic built-in promise utility functions

Usage no npm install needed!

<script type="module">
  import smallNodePromise from 'https://cdn.skypack.dev/small-node-promise';
</script>

README

small-node-promise

A small library for basic built-in promise utility functions

Code Style

This library adheres to the StandardJS code style.

Supported Functions

  • Promises#retry({Promise} Promise, {array} args, {number} maxTries)
  • Promise#forceAll({array} Promise)
  • Promise#resolveMap({map} map)
  • Promise#forceResolveMap({map} map)