Workspace ManagerconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

config.parseWorkspaceYaml

function parseWorkspaceYaml(source: string): Workspace

Parse a YAML or JSON workspace, then validate it.

Description#

YAML parsing is Bun's, and this package otherwise runs anywhere — so this is the one function that does not. Reached from Node it says so, rather than failing on an undefined global; parse the document yourself and hand the result to parseWorkspace().

Parameters

Guides#

Pages that discuss parseWorkspaceYaml.

Esc

Type to search.

Reference previewOpen reference