Module

x/ash/mod.ts>path.basename

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

Returns the basename of a path.

Parameters

path: string

The path to get the basename of.

Returns

string