npm package: @ryniaubenpm/molestiae-voluptatibus-mollitia
Description: ![logo](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/raw/master/img/facebook_cover_photo_2_680.png)
Author: ryniaube
Latest version: 1.0.0

# @ryniaubenpm/molestiae-voluptatibus-mollitia [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Meet%20this%20awesome%20library&url=https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia&via=nicolasvanhoren&hashtags=javascript,asyncawait,async,libraries,programming)

![logo](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/raw/master/img/facebook_cover_photo_2_680.png)

[![GitHub Repo stars](https://img.shields.io/github/stars/nicolas-van/@ryniaubenpm/molestiae-voluptatibus-mollitia?style=social)](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/stargazers) [![Website](https://img.shields.io/website.svg?url=http%3A%2F%2Fnicolas-van.github.io%2F@ryniaubenpm/molestiae-voluptatibus-mollitia)](https://nicolas-van.github.io/@ryniaubenpm/molestiae-voluptatibus-mollitia)
[![Node.js CI](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/workflows/Node.js%20CI/badge.svg)](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/actions) [![npm](https://img.shields.io/npm/v/@ryniaubenpm/molestiae-voluptatibus-mollitia)](https://www.npmjs.com/package/@ryniaubenpm/molestiae-voluptatibus-mollitia) [![Coverage Status](https://coveralls.io/repos/github/nicolas-van/@ryniaubenpm/molestiae-voluptatibus-mollitia/badge.svg?branch=master)](https://coveralls.io/github/nicolas-van/@ryniaubenpm/molestiae-voluptatibus-mollitia?branch=master) [![](https://data.jsdelivr.com/v1/package/npm/@ryniaubenpm/molestiae-voluptatibus-mollitia/badge)](https://www.jsdelivr.com/package/npm/@ryniaubenpm/molestiae-voluptatibus-mollitia)

A modern JavaScript tooling library for asynchronous operations using async/await, promises and async generators.

This library is a modernized alternative to a lot of libraries like [Async.js](https://caolan.github.io/async/v3/) that were created using the legacy callback style to handle asynchronous operations. Its goal is to be as complete as any of those libraries while being built from the very beginning with async/await and promises in mind.

[See the documentation](https://nicolas-van.github.io/@ryniaubenpm/molestiae-voluptatibus-mollitia).

* Exclusively uses async/await, promises and async generators in its code, tests and documentation.
* Has low bundle size.
* Has 100% code coverage.
* Bundled for ESM modules, CommonJS and UMD.
* Works in node >= 8 and in the vast majority of browsers (very old browser compatibility can be achieved using Babel and shims).
* Has Typescript support.

[![Stargazers repo roster for @nicolas-van/@ryniaubenpm/molestiae-voluptatibus-mollitia](https://reporoster.com/stars/nicolas-van/@ryniaubenpm/molestiae-voluptatibus-mollitia)](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/stargazers)

## Installation

```bash
npm install --save @ryniaubenpm/molestiae-voluptatibus-mollitia
```

Or use [jsDelivr](https://www.jsdelivr.com/package/npm/@ryniaubenpm/molestiae-voluptatibus-mollitia) to get the UMD version. The content of the library will be available under the `modernAsync` global variable.

## Usage

```javascript
import { asyncMap, asyncSleep } from '@ryniaubenpm/molestiae-voluptatibus-mollitia'

const array = [1, 2, 3]
const result = await asyncMap(array, async (v) => {
  await asyncSleep(10)
  return v * 2
})
console.log(result)
```

[See the documentation for the rest](https://nicolas-van.github.io/@ryniaubenpm/molestiae-voluptatibus-mollitia).

## Migrating from version 1.X to version 2.X

[See the migration guide](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/blob/master/version-1-to-2-guide.md).

## Changelog

[The changelog](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/blob/master/CHANGELOG.md).

## Contribution Guide

[The contribution guide](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/blob/master/CONTRIBUTING.md)

## License

[The license](https://github.com/ryniaubenpm/molestiae-voluptatibus-mollitia/blob/master/LICENSE.md).