Skip to content

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.

NameTypeDefined in
navigatorobjectpackages/project-resolve/src/workspace.ts:90
navigator.storageobjectpackages/project-resolve/src/workspace.ts:91
getDirectory()() => Promise<WorkspaceDirectoryHandle>packages/project-resolve/src/workspace.ts:91
pathWorkspacePathspackages/project-resolve/src/workspace.ts:93