Skip to main content
path.FormatInputPathObject.base - path - Node documentation
property path.FormatInputPathObject.base

Usage in Deno

import { type path } from "node:path";

The file name including extension (if any) such as 'index.html'

Type

string | undefined