getVersion
Function: getVersion()
getVersion(
command):string|null
Defined in: src/install/utils/packageCheck.ts:39
Get the version of an installed package
Parameters
command
string
Command name to check (alphanumeric, hyphens, underscores only)
Returns
string | null
Version string if found, null otherwise