apr-map
v3.0.3
Published
Produces a new collection of values by mapping each value in coll through the iteratee function.
Downloads
4,517
Maintainers
Readme
map
Produces a new collection of values by mapping each value in coll
through the iteratee
function.
Parameters
Examples
import awaitify from 'apr-awaitify';
import map from 'apr-map';
const stat = awaitify(fs.stat);
const files = [
'file1',
'file2',
'file3'
];
const stats = await map(files, async (file) =>
await stat(file);
);
Returns Promise
series
Parameters
Returns Promise
limit
Parameters
Returns Promise