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

x/ayonli_jsext/path/index.ts>cwd

A JavaScript extension package for building strong and modern applications.
Latest
function cwd
import { cwd } from "https://deno.land/x/ayonli_jsext@v0.9.72/path/index.ts";

Returns the current working directory.

NOTE: In the browser, this function returns the current origin and pathname.

This function may fail in unsupported environments or being rejected by the permission system of the runtime.

Returns

string