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

x/ayonli_jsext/esm/path.js>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/esm/path.js";

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.