Ergonomic
Promise.all
npm install mapf --save
import { mapf } from 'mapf'
const [a, b, c] = await mapf([1, 2, 3], async _ => await foo(_))
// before
const [a, b, c] = await Promise.all([1, 2, 3].map(async _ => await foo(_)))
// after
const [a, b, c] = await mapf([1, 2, 3], async _ => await foo(_)))
npm test
MIT