Function: root()
root(
cwd?):string|undefined
Resolve the nearest project root without walking above its npm or Git boundary.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | undefined
root(
cwd?):string|undefined
Resolve the nearest project root without walking above its npm or Git boundary.
string
string | undefined