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

Prefer fs.promises #157

Closed
sindresorhus opened this issue Apr 27, 2019 · 1 comment
Closed

Prefer fs.promises #157

sindresorhus opened this issue Apr 27, 2019 · 1 comment

Comments

@sindresorhus
Copy link

The fs.promises API is stable in Node.js 12, so would be nice to enforce using that if you target Node.js 12.

https://nodejs.org/dist/latest-v12.x/docs/api/fs.html#fs_fs_promises_api

@mysticatea
Copy link
Owner

Good idea.

@sindresorhus sindresorhus changed the title Prefer fs.promises Prefer fs.promises and dns.promises Apr 30, 2019
@sindresorhus sindresorhus changed the title Prefer fs.promises and dns.promises Prefer fs.promises Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants