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
Go to Latest
function pathUtils.toNamespacedPath
import { pathUtils } from "https://deno.land/x/dtils@2.4.0/deps.ts";
const { toNamespacedPath } = pathUtils;

Resolves path to a namespace path

Parameters

path: string

to resolve to namespace

Returns

string