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

asyncitt

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

asyncitt - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

package.json
{
"name": "asyncitt",
"version": "0.1.3",
"description": "Make array iteration easy with async/await",
"version": "0.1.4",
"description": "Make array iteration easy with async/await and promises",
"main": "index.js",

@@ -38,4 +38,4 @@ "scripts": {

"type": "git",
"url": "https://github.com/antonvs2/asyncitt"
"url": "https://github.com/toniov/asyncitt"
}
}
# asyncitt [![Build Status](https://travis-ci.org/toniov/asyncitt.svg?branch=master)](https://travis-ci.org/toniov/asyncitt)
> Make array iteration easy with async/await
> Make array iteration easy with async/await and promises
- Same functionality as the ES5 Array iteration methods
- All the methods return a `Promise`, making them awaitable
- Same functionality as the ES5 Array iteration methods we all know
- All the methods return a `Promise`, making them awaitable and thenable
- Allow the usage of async functions as callback

@@ -21,2 +21,4 @@ - Callbacks run in parallel

Smooth asynchronous iteration using `async/await`:
```js

@@ -37,3 +39,13 @@ const { map } = require('asyncitt');

All methods return a promise so they can just be used outside an async function:
```js
const { map } = require('asyncitt');
map([1, 2, 3], (num) => asyncCall2(num)).then((foo) => {
// ...
});
```
## API

@@ -40,0 +52,0 @@

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