tiny-promise-map

0.0.3 • Public • Published

💍 tiny-promise-map

NPM version MIT License fliphub flipfam

⚠ note

if possible, use async instead

📦 usage

yarn add tiny-promise-map
npm i tiny-promise-map --save
const promiseMap = require('tiny-promise-map')

📘 examples

promiseMap(promises, (promise, last, index) => {
  return new Promise(resolve => resolve(index))
).then(all => console.log(all))

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i tiny-promise-map

    Weekly Downloads

    5

    Version

    0.0.3

    License

    none

    Last publish

    Collaborators

    • aretecode