fs-readdir-stream
Is a Function for Recursiv Dir Reading that returns a RealStream for fs.readdir replacement Its using Operating system Filesystem Utils for that and returns a NodeStream or MostStream.
install
npm install --save fs-readdir-stream@0.0.2
Usage
const findStreamNode findStreamMost = // can also be array supports all options that nativ os find supportsconst options = '-maxdepth 1' let listing = listingstdoutlistingstderrlisting; const readdirStream =
Expert Usage
Using the Most Stream Interface https://github.com/cujojs/most/blob/master/docs/api.md
const findStreamMost = // can also be array supports all options that nativ os find supportsconst options = '-maxdepth 1' const readdirStream =
using the Node event Stream Interface
const findStreamNode = // can also be array supports all options that nativ os find supportsconst options = '-maxdepth 1' const readdirStream = readdirStreamstdoutreaddirStreamstderrreaddirStream;