File API polyfill
π Isomorphic File
, FileReader
, and FileReaderSync
for Node.js, Deno, Bun, and browsers
Installation
You can install this package using npm, [Yarn], or [pnpm]. Whatever floats your boat! β΅
npm install @webfill/fileapi
Usage
import "@webfill/fileapi";
const blob = new Blob(["Hello world!"]);
const text = new FileReaderSync().readAsText(blob);
Development
TODO: Add development section