Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/js/realpath.ts>realpathSync

A modern runtime for JavaScript and TypeScript.
Go to Latest
function realpathSync
import { realpathSync } from "https://deno.land/x/deno@v0.28.0/cli/js/realpath.ts";

Returns absolute normalized path with symbolic links resolved synchronously.

  const realPath = Deno.realpathSync("./some/path");

Parameters

path: string

Returns

string