promise-all-or-none

Works like Promise.allSettled except it will reject with an AggregateError if some of the promises rejected, otherwise resolves with the fulfilled values.

Usage no npm install needed!

<script type="module">
  import promiseAllOrNone from 'https://cdn.skypack.dev/promise-all-or-none';
</script>

README