Package Exports
- read-file-async
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (read-file-async) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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());
});