Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

115 Commits

Repository files navigation

🚧 Under construction 👷‍♂️

File System for anywhere

📂 FileSystemFileHandle polyfill for Node.js and more!

Installation

Usage

// Node.jsimport{openFile}from"@webfill/fs";consthandle=openFile("file.txt");constfile1=awaithandle.getFile();consttext1=awaitfile1.text();console.log(text1);//=> 'I am a file!'constwritable=awaithandle.createWritable();awaitwritable.write("Hello world!");awaitwritable.close();constfile2=awaithandle.getFile();consttext2=awaitfile2.text();console.log(text2);//=> 'Hello world!'
// Node.js and browserimport"@webfill/fs";

About

📂 FileSystemFileHandle polyfill for Node.js and more!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages