linkSync - Node documentation
function linkSync

Usage

import { linkSync } from "node:fs";

Creates a new link from the existingPath to the newPath. See the POSIX link(2) documentation for more detail. Returns undefined.

Parameters

existingPath: PathLike
newPath: PathLike

Return Type

void