import { readLink } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/fs.js";
Returns the destination path of a symbolic link.
NOTE: This function is only available in Node.js, Deno and Bun.
Examples
Example 1
Example 1
import { readLink } from "@ayonli/jsext/fs";
const dest = await readLink("/path/to/link.txt");
console.log(dest);