1.0.0 • Published 4 years ago
p-flat-map v1.0.0
p-flat-map
A function wrapper of p-map, which flatten the result from p-map function.
API
The API is same as p-map
but provide one more option: deep
(Boolean). If it is true, it would recursively flattens output array.