@zenfs/core
The core package: the virtual file system, configuration, the internal API, and the backends that work everywhere.
npm install @zenfs/coreReference generated from v2.7.3.
Backends
Section titled “Backends”| Backend | Description |
|---|---|
InMemory |
Stores files in-memory. Cleared when the runtime ends. |
CopyOnWrite |
Combines a readable and a writable file system with copy-on-write. |
Fetch |
Downloads files over HTTP with the fetch API. |
Port |
Interacts with a remote over a MessagePort-like interface, e.g. a worker. |
Passthrough |
Uses an existing node:fs interface with ZenFS. |
SingleBuffer |
Contained within a single buffer. Supports synchronous multi-threaded use with a SharedArrayBuffer. |