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

x/dtils/deps.ts>pathUtils.toNamespacedPath

The best unofficial library of utilities for Deno applications
Latest
function pathUtils.toNamespacedPath
import { pathUtils } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { toNamespacedPath } = pathUtils;

Resolves path to a namespace path

Parameters

path: string

to resolve to namespace

Returns

string