Skip to main content
Module

x/helmet/mod.ts>extname

Type-safe Helm - the right way to do Infrastructure as Code in Kubernetes
Go to Latest
function extname
import { extname } from "https://deno.land/x/helmet@1.26.3/mod.ts";

Return the extension of the path with leading period.

Parameters

path: string

with extension

Returns

string

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