Skip to main content
Module

x/fastro/http/deps.ts>extname

The web framework for full stack apps
Go to Latest
function extname
import { extname } from "https://deno.land/x/fastro@v0.79.3/http/deps.ts";

Return the extension of the path with leading period.

Parameters

path: string

with extension

Returns

string

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