Module

x/ash/mod.ts>path.pathSegments

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

Returns the segments of a path.

Parameters

path: string

The path to seperate.

Returns

string[]