FsymlinkSync
Bun

function

fs.symlinkSync

function symlinkSync(
target: PathLike,
path: PathLike,
type?: null | Type
): void;

Returns undefined.

For detailed information, see the documentation of the asynchronous version of this API: symlink.