Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Returns absolute normalized path with symbolic links resolved synchronously.

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

Parameters

path: string

Returns

string