Have ideas to improve npm?Join in the discussion! »

    alegrify-async-map

    1.0.0 • Public • Published

    async-map

    Build Status NPM

    Array.prototype.map, but with async callbacks

    Usage

    const asyncMap = require('alegrify-async-map');
     
    const items = [1, 2, 3];
    const filteredItems = asyncMap(items, async (element, index, array) => {
      return await someAsyncMethod(element);
    });

    Keywords

    none

    Install

    npm i alegrify-async-map

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.32 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar