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
Parameter | Type |
---|---|
|
|
Returns
Promise
<undefined
| string
>