mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
388800f301
Co-authored-by: Nathan Whitaker <nathan@deno.com> Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
16 lines
463 B
TypeScript
16 lines
463 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
// This module is browser compatible.
|
|
|
|
/**
|
|
* The character used to separate entries in the PATH environment variable.
|
|
*/
|
|
export const DELIMITER = ";" as const;
|
|
/**
|
|
* The character used to separate components of a file path.
|
|
*/
|
|
export const SEPARATOR = "\\" as const;
|
|
/**
|
|
* A regular expression that matches one or more path separators.
|
|
*/
|
|
export const SEPARATOR_PATTERN = /[\\/]+/;
|