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

x/path/src/Path.ts>Path.explodePath

better path handling for Deno
Latest
method Path.explodePath
import { Path } from "https://deno.land/x/path@v3.0.0/src/Path.ts";

explodes a string into an array of strings

Parameters

separators: string[]

a list of valid separators for the host system

pathString: string

the path to be exploded as a string

Returns

string[]