folder path to iterate through
mapping function to call on each file
options to pass to [[readFile]]
Optional
writeOptions: null | ObjectEncodingOptions & Abortable & { options to pass to [[writeFile]]
a [[Promise]] resolving to an array of all processed files
Optional
readOptions: null | "buffer" | { Optional
writeOptions: null | ObjectEncodingOptions & Abortable & { Generated using TypeDoc
Iterate through every file child of a folder recursively, call a mapper function with each file's contents and write the returned value of the mapper to the files. when passing [[MapStructureFunctionAsync]] as a parameter, operations are done in parallel; to avoid running out of file handles, or to maintain the order (as provided by
dive
), use [[mapStructureOrdered]].