Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fathym_atomic_icons/src/src.deps.ts>path.extname

Fathym's Atomic Icons is a library that supports the optimized creation of customzied icon sets for delivery via Deno Fresh.
Go to Latest
function path.extname
import { path } from "https://deno.land/x/fathym_atomic_icons@v0.0.32/src/src.deps.ts";
const { extname } = path;

Return the extension of the path with leading period.

Parameters

path: string

with extension

Returns

string

extension (ex. for file.ts returns .ts)