0.0.7 • Published 6 months ago

webcontainer-fs-promises v0.0.7

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

fs.promises for web containers

round out webcontainerInstance.fs with stat and lstat

import { WebContainer } from '@webcontainer/api';
import FsPromises from 'webcontainer-fs-promises';
const webcontainerInstance = await WebContainer.boot();
const fs = webcontainerInstance.fs;
fs.promises = new FsPromises({fs:fs});
fs.promises.writeFile("hello.txt", "Hello World!");

Implements:

I built this because I need it with isomorphic git.

0.0.7

6 months ago

0.0.6

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago