Skip to content

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

@trivikr

Description

@trivikr

Is your feature request related to a problem? Please describe.

The mkdirp utility is used in db-migrate https://github.com/search?q=repo%3Adb-migrate%2Fnode-db-migrate%20mkdirp&type=code

It can be replaced with Node.js native fs.mkdirSync added recursive option in Node.js v10.12.0 published on Oct 10, 2018.

Describe the solution you'd like

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

Additional context

The mkdirp currently uses these native APIs:

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