Skip to content

edonv/batch-op

Repository files navigation

Batch Op

NPM Version

Installation

npm i batch-op

Usage

Use batch() or batchAsync() by default. They return an array of all of the outputs from the operation parameter.

If the output of the operation parameter callback is an array (such as one that maps all of the elements), use batchFlat() or batchFlatAsync() instead. This will output a single flattened array of elements.

About

A simple package for simplifying batch operations.

Topics

Resources

License

Stars

Watchers

Forks

Contributors