https://github.com/scriptex/async-array-prototype
Async array methods in JavaScript
https://github.com/scriptex/async-array-prototype
array-methods async-await async-programming
Last synced: 2 months ago
JSON representation
Async array methods in JavaScript
- Host: GitHub
- URL: https://github.com/scriptex/async-array-prototype
- Owner: scriptex
- License: mit
- Created: 2018-08-20T08:20:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T04:29:20.000Z (3 months ago)
- Last Synced: 2025-04-10T04:05:18.813Z (2 months ago)
- Topics: array-methods, async-await, async-programming
- Language: JavaScript
- Homepage: https://atanas.info/portfolio/open-source/async-array-prototype
- Size: 1.87 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/scriptex/async-array-prototype)
[](https://github.com/scriptex/async-array-prototype/actions?query=workflow%3ABuild)
[](https://www.codacy.com/gh/scriptex/async-array-prototype/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/async-array-prototype&utm_campaign=Badge_Grade)
[](https://codebeat.co/projects/github-com-scriptex-async-array-prototype-master)
[](https://www.codefactor.io/repository/github/scriptex/async-array-prototype)
[](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[](https://github.com/scriptex/async-array-prototype/)# Async Array Methods
> This repository contains the asynchronous version of most array methods in JavaScript.
## Visitor stats



## Code stats




## Usage
First install or [download](https://github.com/scriptex/async-array/archive/master.zip) this repository.
```sh
npm i async-array-prototype# or
yarn add async-array-prototype
```Then either import the whole package or include a new script tag with `src` pointing to your downloaded and extracted repository.
You can also include the whole package from unpkg.com
```html
```
Then
```javascript
import 'async-array';
```Once imported, the asyncronous methods are available on the `Array.prototype` and you can use them with any array.
## Methods:
1. Async `every`
2. Async `filter`
3. Async `find`
4. Async `findIndex`
5. Async `forEach`
6. Async `map`
7. Async `some`
8. Async `reduce`## ES Next
Of course you can live on the edge and use the raw ES7 version of the methods by importing them from the `lib` folder.
This way you will not extend the array prototype and the actual usage is left to you.## LICENSE
MIT
---
Connect with me:
---