Installation
npm install @powerduck/workspace-yaml
Peer dependencies (automatically installed):
@powerduck/conf-patch— atomic writes, file locking@powerduck/openapi-parser— OpenAPI validation and upgradeyaml— YAML parsing and serialization
Entry points
| Import | Description |
|---|---|
@powerduck/workspace-yaml | File layer (Node.js / Electron): createWorkspaceApi, initializeWorkspace, initializeOpenApi |
@powerduck/workspace-yaml/core | Core layer (browser-safe): createWorkspaceYaml, createOpenApiYaml, createWorkspaceWithApi, parseWorkspaceYaml |