DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
Node.js
What's the recommended fs API style for new asynchronous code using async/await?
A
fs.readFileSync
B
fs.readFile with a callback
C
fs/promises (e.g. readFile from require('fs/promises'))
D
There's no async-friendly fs API
Check Answer