deno.land / std@0.166.0 / path / separator.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.// This module is browser compatible.
import { isWindows } from "../_util/os.ts";
export const SEP = isWindows ? "\\" : "/";export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+/;
std
Deno standard library
GitHub Repositorydenoland/deno_std
GitHub Stars
2458

Version Info

Tagged at
2 months ago