Skip to content

Latest commit

Β 

History

History
34 lines (20 loc) Β· 637 Bytes

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