@acte-de-presence/vfs-driver-memory 中文文档教程
In-memory filesystem driver for the Acte de Présence VFS
Usage
import {VFS} from '@acte-de-presence/vfs';
const vfs = new VFS();
vfs.use(new VfsMemoryDriver());
await vfs.write("/test", Buffer.from("TEST"));
Running unit tests
运行 nx test vfs-driver-memory
以通过 Jest 执行单元测试。
In-memory filesystem driver for the Acte de Présence VFS
Usage
import {VFS} from '@acte-de-presence/vfs';
const vfs = new VFS();
vfs.use(new VfsMemoryDriver());
await vfs.write("/test", Buffer.from("TEST"));
Running unit tests
Run nx test vfs-driver-memory
to execute the unit tests via Jest.