read-file-async

1.0.0 • Public • Published

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());
});

Readme

Keywords

none

Package Sidebar

Install

npm i read-file-async

Weekly Downloads

1,400

Version

1.0.0

License

MIT

Last publish

Collaborators

  • thejameskyle