Function: nodePlatform()
Documentation / @wtf/project-resolve / node / nodePlatform
function nodePlatform(): object;Defined in: packages/project-resolve/src/node.ts:82
Node’s platform, as a workspace is read by it: the disk, from the root of the working folder’s
drive, as navigator.storage.getDirectory(), and the paths of node:path.
Returns
object
The platform, for { platform } of each reader of ./workspace.
| Name | Type | Defined in |
|---|---|---|
navigator | object | packages/project-resolve/src/workspace.ts:90 |
navigator.storage | object | packages/project-resolve/src/workspace.ts:91 |
getDirectory() | () => Promise<WorkspaceDirectoryHandle> | packages/project-resolve/src/workspace.ts:91 |
path | WorkspacePaths | packages/project-resolve/src/workspace.ts:93 |
