Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 637 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 637 Bytes

🚧 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