indexeddb-fs
An fs kind of library dedicated to the browser. indexeddb-fs is a module that allows you to store data in the browser using an API similar to that of Node's fs module. It works based on a browser database called IndexedDB.
Super quick start
npm install indexeddb-fs --save-dev
import { isFile, writeFile, isDirectory, createDirectory, rootDirectoryName } from 'indexeddb-fs';
await createDirectory('files');
await createDirectory('/files/private');
await createDirectory('root/files/public');
console.log(await isDirectory('root'));
console.log(await isDirectory('files'));
console.log(await isDirectory('/files/private'));
await writeFile('files/public/file.txt', 'content');
console.log(await isFile('files/public/file.txt'));
console.log(await isDirectory('files/public/file.txt'));
await removeDirectory(rootDirectoryName);