function link Usage in Denoimport { link } from "node:fs/promises"; link(existingPath: PathLike,newPath: PathLike,): Promise<void> Creates a new link from the existingPath to the newPath. See the POSIX link(2) documentation for more detail. Parameters existingPath: PathLike newPath: PathLike Return Type Promise<void> Fulfills with undefined upon success.