@charliewilco/async-file-reader
v0.0.2
Published
Simple function to use [FileReader API](https://developer.mozilla.org/en-US/docs/Web/API/FileReader) as async.
Downloads
2
Readme
async-file-reader
Simple function to use FileReader API as async.
yarn add @charliewilco/async-file-reader
Usage:
import asyncFileReader from "@charliewilco/async-file-reader"
const contents: string | ArrayBuffer = await asyncFileReader(file)