npm package: @hutechwebsite/iusto-impedit-quidem-voluptate
Description: [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Author: duongvi123
Latest version: 1.0.0

# @hutechwebsite/iusto-impedit-quidem-voluptate <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][package-url]

ES Proposal spec-compliant shim for Promise.allSettled. Invoke its "shim" method to shim `Promise.allSettled` if it is unavailable or noncompliant. **Note**: a global `Promise` must already exist: the [es6-shim](https://github.com/es-shims/es6-shim) is recommended.

This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment that has `Promise` available globally, and complies with the [proposed spec](https://github.com/tc39/proposal-promise-allSettled).

Most common usage:
```js
var assert = require('assert');
var allSettled = require('@hutechwebsite/iusto-impedit-quidem-voluptate');

var resolved = Promise.resolve(42);
var rejected = Promise.reject(-1);

allSettled([resolved, rejected]).then(function (results) {
	assert.deepEqual(results, [
		{ status: 'fulfilled', value: 42 },
		{ status: 'rejected', reason: -1 }
	]);
});

allSettled.shim(); // will be a no-op if not needed

Promise.allSettled([resolved, rejected]).then(function (results) {
	assert.deepEqual(results, [
		{ status: 'fulfilled', value: 42 },
		{ status: 'rejected', reason: -1 }
	]);
});
```

## Tests
Simply clone the repo, `npm install`, and run `npm test`

[package-url]: https://npmjs.com/package/@hutechwebsite/iusto-impedit-quidem-voluptate
[npm-version-svg]: http://versionbadg.es/hutechwebsite/iusto-impedit-quidem-voluptate.svg
[travis-svg]: https://travis-ci.org/hutechwebsite/iusto-impedit-quidem-voluptate.svg
[travis-url]: https://travis-ci.org/hutechwebsite/iusto-impedit-quidem-voluptate
[deps-svg]: https://david-dm.org/hutechwebsite/iusto-impedit-quidem-voluptate.svg
[deps-url]: https://david-dm.org/hutechwebsite/iusto-impedit-quidem-voluptate
[dev-deps-svg]: https://david-dm.org/hutechwebsite/iusto-impedit-quidem-voluptate/dev-status.svg
[dev-deps-url]: https://david-dm.org/hutechwebsite/iusto-impedit-quidem-voluptate#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/@hutechwebsite/iusto-impedit-quidem-voluptate.png?downloads=true&stars=true
[license-image]: http://img.shields.io/npm/l/@hutechwebsite/iusto-impedit-quidem-voluptate.svg
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/@hutechwebsite/iusto-impedit-quidem-voluptate.svg
[downloads-url]: http://npm-stat.com/charts.html?package=@hutechwebsite/iusto-impedit-quidem-voluptate
[codecov-image]: https://codecov.io/gh/hutechwebsite/iusto-impedit-quidem-voluptate/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/hutechwebsite/iusto-impedit-quidem-voluptate/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/hutechwebsite/iusto-impedit-quidem-voluptate
[actions-url]: https://github.com/hutechwebsite/iusto-impedit-quidem-voluptate/actions