Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fs-extra native replacement #126

Open
bluwy opened this issue Jul 29, 2024 · 1 comment
Open

fs-extra native replacement #126

bluwy opened this issue Jul 29, 2024 · 1 comment

Comments

@bluwy
Copy link
Contributor

bluwy commented Jul 29, 2024

Most of the fs-extra APIs can be replaced with native fs calls these days especially on later node versions. Eg some migration I made: vitejs/vite#17782

We probably needs a migration guide from fs-extra to fs mapping its APIs: https://github.com/jprichardson/node-fs-extra?tab=readme-ov-file#methods. However, I’ve not found a solid guide yet elsewhere, except for https://ar.al/2021/03/07/fs-extra-to-fs/ but it’s 3 years ago.

@43081j
Copy link
Contributor

43081j commented Jul 29, 2024

we could try document it in the replacement doc. we haven't done that so far but fs-extra does need a bit of a migration guide i think

we can still follow the doc template but have an extra section

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

No branches or pull requests

2 participants