Home / Function/ normalizeWindowsSeperators() — tailwindcss Function Reference

normalizeWindowsSeperators() — tailwindcss Function Reference

Architecture documentation for the normalizeWindowsSeperators() function in test-helpers.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  ebba0373_83a2_fa4e_8939_f382de9a7ee1["normalizeWindowsSeperators()"]
  f05ea9e9_1da1_84ec_5542_810b78022689["test-helpers.ts"]
  ebba0373_83a2_fa4e_8939_f382de9a7ee1 -->|defined in| f05ea9e9_1da1_84ec_5542_810b78022689
  style ebba0373_83a2_fa4e_8939_f382de9a7ee1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-cli/src/utils/test-helpers.ts lines 3–5

export function normalizeWindowsSeperators(p: string) {
  return path.sep === '\\' ? p.replaceAll('\\', '/') : p
}

Subdomains

Frequently Asked Questions

What does normalizeWindowsSeperators() do?
normalizeWindowsSeperators() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-cli/src/utils/test-helpers.ts.
Where is normalizeWindowsSeperators() defined?
normalizeWindowsSeperators() is defined in packages/@tailwindcss-cli/src/utils/test-helpers.ts at line 3.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free