MCPcopy Create free account
hub / github.com/vercel/vercel / normalizeSlashes

Function normalizeSlashes

packages/node/src/typescript.ts:89–91  ·  view source on GitHub ↗

* Replace backslashes with forward slashes.

(value: string)

Source from the content-addressed store, hash-verified

87 * Replace backslashes with forward slashes.
88 */
89function normalizeSlashes(value: string): string {
90 return value.replace(/\\/g, '/');
91}
92
93/**
94 * Return type for registering `ts-node`.

Callers 2

detectConfigFunction · 0.85
readConfigFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected