Skip to content

[Replacement]: Several packages can be replaced with fs.readdir(..., { recursie: true }) #655

@TomerAberbach

Description

@TomerAberbach

Package to replace

get-all-files, fdir (for simple usages), recursive-fs (for .read), recur-readdir, recursive-files, recursive-readdir

Suggested replacement(s)

Use native fs.readdir(..., { recursie: true }) instead

Manifest type

native (replaceable by a built-in platform feature)

Rationale

Most of these packages were created due to the lack of native recursive directory listing support. Now the functionality is available natively:

I published get-all-files ~8 years ago for this reason, but I've now deprecated it.

Availability

recursive option was added in Node v18.17.0

Code example (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions