In short
Node's built-in module for reading, writing and manipulating files on disk — both synchronous and asynchronous (Promise-based) variants.
How to learn this
- 1Read and write a file using both `fs.promises` and the callback-based API.
- 2Practice watching a directory for changes with `fs.watch`.
- 3Learn why you should almost always prefer the async `fs` methods on a server.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.