Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 429 Bytes

readme.md

File metadata and controls

25 lines (15 loc) · 429 Bytes

lie-map

API

npm install lie-map
var map = require('lie-map');

###map

map(array of promises, function)

Takes the array of values, applies function to them, and returns a promise for all the values. Function will be called with a value (not a promise) and may return either a promise or a value, array can filled with promises or values or a mixture.

License

MIT