Function: detectPackageManager

detectPackageManager(dir?): PackageManager

Detects which package manager is used in the workspace based on the lock file.

Parameters

NameTypeDefault value
dirstring''

Returns

PackageManager