Skip to main content
Module

x/simple_utility/mod.full.ts>slashW

Simplify processing for Deno.
Go to Latest
function slashW
import { slashW } from "https://deno.land/x/simple_utility@v2.0.10/mod.full.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