Skip to main content
Module

x/simple_utility/src/path.deno.ts>slashW

Useful snippet collection.
Go to Latest
function slashW
import { slashW } from "https://deno.land/x/simple_utility@v1.3.5/src/path.deno.ts";

Convert from slash to backslash. Useful for converting from UNIX path to Windows path.

Examples

Example 1

const path = slashW("C:/file");

Parameters

path: string

Returns

string