Skip to main content
path.ParsedPath.ext - path - Node documentation
property path.ParsedPath.ext

Usage in Deno

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

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

Type

string