@lxf2513/readdir-sync-recursive
v1.0.1
Published
Reads the contents of the directory synchronously and recursively.
Downloads
142
Maintainers
Readme
readdir-sync-recursive
Reads the contents of the directory synchronously and recursively.
Like fs.readdirSync('/path/source', { recursive: true })
.Compatible with lower versions of nodejs.
Installation
npm install @lxf2513/readdir-sync-recursive
Usage
import readdirSyncRecursive from '@lxf2513/readdir-sync-recursive'
readdirSyncRecursive('/path/source')