function promises.link Usage in Denoimport { promises } from "node:fs"; const { link } = 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.