Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

async-array-prototype

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-array-prototype

Async array methods in JavaScript

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
81
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

Travis CI Github Build Codacy Badge Codebeat Badge CodeFactor Badge DeepScan grade Analytics

Async Array Methods

This repository contains the asynchronous version of most array methods in JavaScript.

Visitor stats

GitHub stars GitHub forks GitHub watchers GitHub followers

Code stats

GitHub code size in bytes GitHub repo size GitHub language count GitHub top language GitHub last commit

Usage

First install or download this repository.

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

<script src="https://unpkg.com/async-array-prototype"></script>

Then

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:


Support and sponsor my work:

Keywords

FAQs

Package last updated on 07 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc