Home / Function/ installedTailwindVersion() — tailwindcss Function Reference

installedTailwindVersion() — tailwindcss Function Reference

Architecture documentation for the installedTailwindVersion() function in version.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  4ef7606d_6db1_3d23_3a99_f5d91d921964["installedTailwindVersion()"]
  c1db9de2_3654_d42b_b9f2_1c5a0ccbd307["run()"]
  c1db9de2_3654_d42b_b9f2_1c5a0ccbd307 -->|calls| 4ef7606d_6db1_3d23_3a99_f5d91d921964
  91c7b7d7_b75e_448f_492f_b7e96c0ac0c5["isMajor()"]
  91c7b7d7_b75e_448f_492f_b7e96c0ac0c5 -->|calls| 4ef7606d_6db1_3d23_3a99_f5d91d921964
  82229175_4ba6_bd33_889a_82f4a2be3187["isGreaterThan()"]
  82229175_4ba6_bd33_889a_82f4a2be3187 -->|calls| 4ef7606d_6db1_3d23_3a99_f5d91d921964
  a4ad5100_39b5_6a90_6dd5_49937eaa0f11["expectedCache()"]
  a4ad5100_39b5_6a90_6dd5_49937eaa0f11 -->|calls| 4ef7606d_6db1_3d23_3a99_f5d91d921964
  4cd99e59_ac1e_2a1f_0946_33cc1afd2532["get()"]
  4ef7606d_6db1_3d23_3a99_f5d91d921964 -->|calls| 4cd99e59_ac1e_2a1f_0946_33cc1afd2532
  style 4ef7606d_6db1_3d23_3a99_f5d91d921964 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-upgrade/src/utils/version.ts lines 30–32

export function installedTailwindVersion(base = process.cwd()): string {
  return cache.get(base)
}

Subdomains

Calls

Frequently Asked Questions

What does installedTailwindVersion() do?
installedTailwindVersion() is a function in the tailwindcss codebase.
What does installedTailwindVersion() call?
installedTailwindVersion() calls 1 function(s): get.
What calls installedTailwindVersion()?
installedTailwindVersion() is called by 4 function(s): expectedCache, isGreaterThan, isMajor, run.

Analyze Your Own Codebase

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

Try Supermodel Free