
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@types/recursive-readdir
Advanced tools
TypeScript definitions for recursive-readdir
npm install --save @types/recursive-readdir
This package contains type definitions for recursive-readdir (https://github.com/jergason/recursive-readdir/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/recursive-readdir.
/// <reference types="node" />
import * as fs from "fs";
declare namespace RecursiveReaddir {
type IgnoreFunction = (file: string, stats: fs.Stats) => boolean;
type Ignores = ReadonlyArray<string | IgnoreFunction>;
type Callback = (error: Error, files: string[]) => void;
interface readDir {
(path: string, ignores?: Ignores): Promise<string[]>;
(path: string, callback: Callback): void;
(path: string, ignores: Ignores, callback: Callback): void;
}
}
declare var recursiveReadDir: RecursiveReaddir.readDir;
export = recursiveReadDir;
These definitions were written by Micah Zoltu.
readdirp is a recursive version of fs.readdir with additional features like filtering and streaming. It provides a more flexible API compared to recursive-readdir.
klaw is a file system walker that reads directories recursively and supports filtering and streaming. It is similar to recursive-readdir but offers more advanced features like custom filters and event-based processing.
fs-extra is a module that extends the native Node.js fs module with additional methods, including recursive directory reading. It provides a comprehensive set of file system utilities beyond just reading directories.
FAQs
TypeScript definitions for recursive-readdir
The npm package @types/recursive-readdir receives a total of 284,347 weekly downloads. As such, @types/recursive-readdir popularity was classified as popular.
We found that @types/recursive-readdir demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.