Skip to main content
Module

x/netzo/deno.d.ts>Deno.cwd

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
function Deno.cwd
allow-read
import { Deno } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";
const { cwd } = Deno;

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.

const currentWorkingDirectory = Deno.cwd();

Throws Deno.errors.NotFound if directory not available.

Requires --allow-read

Returns

string