read-file-async Typed async readFile function // @flow import readFileAsync from 'read-file-async'; readFileAsync('path/to/file.txt').then(buffer => { console.log(buffer.toString()); });