FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.88k stars 137 forks source link

Use fs native API with promises #1243

Closed LoicPoullain closed 6 months ago

LoicPoullain commented 6 months ago

Issue

Some old code has been promisified in order to work with NodeJS API. In latest versions of Node, async functions are natively available with promises. Foal should use these functions directly instead.

Solution and steps

Checklist