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

Added fs_promise_demo.js to show how to use fs.promise API #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miguelh72
Copy link

@miguelh72 miguelh72 commented Jun 27, 2020

Added reference example of how to use the fs.promise API instead of the callback based API. The use of promises is becoming ubiquitous and while the tutorial mentions the synchronous methods, it doesn't mention the promise API based methods that are commonly used. My hope is that this example will show others how this API can be used to accomplish the same as in the fs_demo.js.

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

Successfully merging this pull request may close these issues.

1 participant