File system | Node.js v26.7.0 Documentation
5
Public whispers
5
Contributors
2026-07-25 09:19:00
First whispered
Public whispers on this page
Text Highlight2026-07-25 12:40:00
Original Highlight Excerpt
"The synchronous APIs block the Node."
Whisper Note
Blocking is fine if you're just scripting small stuff.
Text Highlight2026-07-25 12:31:00
Original Highlight Excerpt
"The synchronous APIs block the Node."
Whisper Note
Yeah that's why async is safer for anything heavy.
Text Highlight2026-07-25 09:37:00
Original Highlight Excerpt
"To use the promise-based APIs:import * as fs from 'node:fs/promises'"
Whisper Note
I always forget the /promises part, thanks for the reminder.
Text Highlight2026-07-25 09:28:00
Original Highlight Excerpt
"To use the promise-based APIs:import * as fs from 'node:fs/promises'"
Whisper Note
Wait, is this the same as just importing 'fs' but with promises?
Text Highlight2026-07-25 09:19:00
Original Highlight Excerpt
"To use the promise-based APIs:import * as fs from 'node:fs/promises'"
Whisper Note
Finally, no more callback hell for fs operations.
Share this page's whispers
Short link
https://domwhisper.com/s/e592a8e68182Embed snippet
<iframe src="https://domwhisper.com/embed/e592a8e68182" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>See what people are discussing on nodejs.org
Install DomWhisper to view live whispers as you browse, and join the discussion.
Get the extension