🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@lxf2513/readdir-sync-recursive

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lxf2513/readdir-sync-recursive

Reads the contents of the directory synchronously and recursively.

latest
Source
npmnpm
Version
1.3.3
Version published
Weekly downloads
5
-76.19%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Return [] if the path not exist or not a directory

Installation

npm install @lxf2513/readdir-sync-recursive

Usage

import readdirSyncRecursive from '@lxf2513/readdir-sync-recursive'

readdirSyncRecursive('/path/source')

readdirSyncRecursive('/path/source', 'relativePath')

readdirSyncRecursive('/path/source', 'absolutePath')

Keywords

readdirSync

FAQs

Package last updated on 20 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts