DEV Community

Discussion on: How to promisify node callbacks

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

There is also promisifyAll, but you will need some library (e.g. Bluebird).

Furthermore, there is require('fs/promise').

Lastly, I generally prefer fs-extra.