Module

x/ash/src/path.ts>pathSegments

A stylish web framework for Deno!
Latest
function pathSegments
import { pathSegments } from "https://dotland.deno.dev/x/ash@1.3.6/src/path.ts";

Returns the segments of a path.

Parameters

path: string

The path to seperate.

Returns

string[]