dir-stream

stream filenames

Usage no npm install needed!

<script type="module">
  import dirStream from 'https://cdn.skypack.dev/dir-stream';
</script>

README

dir-stream

Build Status npm install

given a stream of directory names, will output a stream of all contents of that directory recursively and queued in order of receipt.

options

optionally, you can pass a configuration object to the function with options:

{
    ignoreExtensions: ['exe'] // don't stream filenames with extensions listed
  , onlyFiles: false // don't stream dirs
  , noRecurse: false // don't recurse into dirs
}

license

MIT