/fileapi

📂 Node.js polyfill for the rest of the File API

Primary LanguageTypeScriptMIT LicenseMIT

🚧 Under construction 👷‍♂️

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