Working with the File System on Node.js
2ality.com
2ality.com
This is why I always use fs.readFileSync or correctly implement the callback and read it sequentially myself as it feeds me chunks of the file data buffer via the callback.
You can also use TypeScript and await on the promise which is super clean, highly recommend it.
All in all, node's file system libs are pretty solid.
I'm not sure what you mean here. The promises and async/await syntax come from JavaScript, not from TypeScript - TS is just the sugar on top that provides the typings.