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

x/easy_std/src/path.ts>slash

Generic Deno standard library, focused on ease of use | 通用 Deno 标准库,专注于易用性
Go to Latest
function slash
import { slash } from "https://deno.land/x/easy_std@v0.7.0/src/path.ts";

normalizing windows path to Support all platforms

Examples

Example 1

import { slash } from "https://deno.land/x/easy_std@version/src/path.ts";

slash("D:\\foo\\bar") // D:/foo/bar

Parameters

path: string