Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
trivikr opened this issue Aug 18, 2024 · 0 comments
Open

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

trivikr opened this issue Aug 18, 2024 · 0 comments

Comments

@trivikr
Copy link

trivikr commented Aug 18, 2024

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

The mkdirp utility is used in unzip-stream https://github.com/search?q=repo%3Amhr3%2Funzip-stream%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:

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant