Nominal Pizza Masticator

    apr-reduce

    3.0.3 • Public • Published

    reduce

    Reduces coll into a single value using an async iteratee to return each successive step.

    Parameters

    Examples

    import reduce from 'apr-reduce';
     
    const sum = await reduce([1, 2, 3], async (sum, item) =>
      new Promise((resolve) => resolve(sum + item))
    );

    Returns Promise

    Install

    npm i apr-reduce

    DownloadsWeekly Downloads

    3,243

    Version

    3.0.3

    License

    MIT

    Last publish

    Collaborators

    • ramitos