Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

apr-for-each

Package Overview
Dependencies
2
Maintainers
1
Versions
10
Issues
File Explorer

Advanced tools

apr-for-each

Applies the function iteratee to each item in coll, in parallel.

    3.0.3latest
    GitHub

Version published
Maintainers
1
Weekly downloads
1,028
decreased by-6.55%

Weekly downloads

Readme

Source

for-each

Applies the function iteratee to each item in coll, in parallel.

Parameters

Examples

import awaitify from 'apr-awaitify'; import forEach from 'apr-for-each'; const writeFile = awaitify(fs.writeFile); const files = [ '/home/.vimrc', '/home/.zshrc' ]; await forEach(files, async (file) => await writeFile(file, 'boom') );

Returns Promise

series

Parameters

Returns Promise

limit

Parameters

Returns Promise

Keywords

FAQs

Last updated on 28 Jan 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc