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

std/path/mod.ts>toNamespacedPath

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function toNamespacedPath
import { toNamespacedPath } from "https://deno.land/std@0.208.0/path/mod.ts";

Resolves path to a namespace path

Parameters

path: string

to resolve to namespace

Returns

string