1.0.0 • Published 7 years ago
read-file-async v1.0.0
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());
});
1.0.0
7 years ago