Skip to content

workloads / introspection / projectFramework

Function: projectFramework() ​

ts
function projectFramework(projectRoot?): Promise<undefined | string>

Returns the slug (unique identifier) of the framework used in the current project.

Frameworks are defected wirth the package: @vercel/fs-detectors

Parameters ​

ParameterType

projectRoot?

string

Returns ​

Promise<undefined | string>