@lxf2513/readdir-sync-recursive
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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')

Package Sidebar

Install

npm i @lxf2513/readdir-sync-recursive

Weekly Downloads

73

Version

1.0.1

License

MIT

Unpacked Size

5.4 kB

Total Files

8

Last publish

Collaborators

  • lxf2513