web4more / fileapi

πŸ“‚ Node.js polyfill for the rest of the File API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚧 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

About

πŸ“‚ Node.js polyfill for the rest of the File API

License:MIT License


Languages

Language:TypeScript 100.0%