Skip to main content

@powerduck/workspace-yaml

Initialize workspace.yaml and OpenAPI 3.2 YAML files with confidence.

Two-layer architecture:

  • Core layer (browser-safe): Pure functions that generate YAML content strings. No filesystem access.

  • File layer (Node.js / Electron): Wraps the core with atomic writes, file locking, and path normalization.

  • Package name: @powerduck/workspace-yaml

  • Version:

  • License: MIT

This library only initializes files — the "new file" / "manual creation" scenario. It does not reimplement reading, patching, or updating YAML files. For those operations, use @powerduck/conf-patch.

Next steps