Skip to content

Replace mkdirp with fs.mkdirSync(path, { recursive: true }) #15

Open
@wojtekmaj

Description

@wojtekmaj

tsimp works with Node.js v16.17.0 and up, according to package.json engines entry.

In Node.js v10.12.0, recursive option was added to fs.mkdirSync. This option allows you to create a directory and all its parent directories if they do not exist.

Given the above, I believe you could safely replace mkdirp with fs.mkdirSync(path, { recursive: true }) and reduce the number of dependencies in this project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions