elide:fs

Elide alias for the Node-compatible filesystem module.

elide:fs is an alias for node:fs; both imports return the same module object. Prefer node:fs in portable packages and use elide:fs only when an Elide-specific specifier is desirable.

import { readFileSync } from "elide:fs";

const text = readFileSync("README.md", "utf8");

See node:fs for supported operations and limitations.