Skip to content

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

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:

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