close
Skip to main content
This release is versions behind 1.1.5 — the latest version of @std/path.
Works with
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 Score100%
Downloads83,449/wk
Published3 years ago (0.210.0)

Utilities for working with file system paths

// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // This module is browser compatible. import { isWindows } from "./_os.ts"; export const SEP: "/" | "\\" = isWindows ? "\\" : "/"; export const SEP_PATTERN: RegExp = isWindows ? /[\\/]+/ : /\/+/;