close
Skip to main content
This release is versions behind 1.1.5 — the latest version of @std/path.

@std/path@0.219.1
Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score100%
Downloads129,179/wk
Published2 years ago (0.219.1)

Utilities for working with file system paths

Functions

f
normalize(path: string): string

Normalize the path, resolving '..' and '.' segments. Note that resolving these segments does not necessarily mean that all will be eliminated. A '..' at the top-level will be preserved, and an empty path is canonically '.'.