Skip to content

@zenfs/core

The core package: the virtual file system, configuration, the internal API, and the backends that work everywhere.

Terminal window
npm install @zenfs/core

Reference generated from v2.7.3.

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.