Skip to main content

Installation

npm install @powerduck/workspace-yaml

Peer dependencies (automatically installed):

  • @powerduck/conf-patch — atomic writes, file locking
  • @powerduck/openapi-parser — OpenAPI validation and upgrade
  • yaml — YAML parsing and serialization

Entry points

ImportDescription
@powerduck/workspace-yamlFile layer (Node.js / Electron): createWorkspaceApi, initializeWorkspace, initializeOpenApi
@powerduck/workspace-yaml/coreCore layer (browser-safe): createWorkspaceYaml, createOpenApiYaml, createWorkspaceWithApi, parseWorkspaceYaml