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

x/deno/cli/js/dir.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.30.0/cli/js/dir.ts";

Functions

chdir() Change the current working directory to path. throws NotFound exception if directory not available

cwd() Return a string representing the current working directory. If the current directory can be reached via multiple paths (due to symbolic links), cwd() may return any one of them. throws NotFound exception if directory not available