Function diveSync

  • The synchronous version of [[dive]]. Improved version of the diveSync module.

    Parameters

    • directory: string
    • options: DiveOptions = {}

      an object that defines some of the properties

    Returns string[]

    an array of the found file paths

    Example: ``` const files = fs.diveSync(process.cwd()); for (let i in files) { } for (let file of files) { } files.forEach(function(file, i) { }); for (let i = 0; i < files.length; i++) { } ```

Generated using TypeDoc