Skip to main content
Home

Utilities for working with file system paths

This package works with Cloudflare Workers, Deno, Browsers
This package works with Cloudflare Workers
This package works with Deno
This package works with Browsers
JSR Score
94%
Published
2 weeks ago (1.1.4)

Functions

f
extname

Return the extension of the path with leading period (".").

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/path

Import symbol

import * as mod from "@std/path/extname";
or

Import directly with a jsr specifier

import * as mod from "jsr:@std/path/extname";