Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why util.promisify `readFile` when `fs` exports promises?


Of course. It’s just new to users, relatively; only since 2019. To boot, one of the current LTS versions -the oldest- does not include it




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: