Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/path/constants.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.// This module is browser compatible.import { isWindows } from "./_os.ts";
export const DELIMITER = isWindows ? ";" as const : ":" as const;export const SEPARATOR = isWindows ? "\\" as const : "/" as const;export const SEPARATOR_PATTERN = isWindows ? /[\\/]+/ : /\/+/;