yahoo-finance2
Version:
JS API for Yahoo Finance
21 lines (20 loc) • 827 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SEPARATOR_PATTERN = exports.SEPARATOR = exports.DELIMITER = void 0;
// Copyright 2018-2025 the Deno authors. MIT license.
// This module is browser compatible.
const os_js_1 = require("../../internal/1.0.13/os.js");
/**
* The character used to separate entries in the PATH environment variable.
* On Windows, this is `;`. On all other platforms, this is `:`.
*/
exports.DELIMITER = os_js_1.isWindows ? ";" : ":";
/**
* The character used to separate components of a file path.
* On Windows, this is `\`. On all other platforms, this is `/`.
*/
exports.SEPARATOR = os_js_1.isWindows ? "\\" : "/";
/**
* A regular expression that matches one or more path separators.
*/
exports.SEPARATOR_PATTERN = os_js_1.isWindows ? /[\\/]+/ : /\/+/;