UNPKG

workspace-tools

Version:

A collection of utilities that are useful in a git-controlled monorepo managed by one of these tools:

9 lines (8 loc) 311 B
import type { Catalogs } from "../types/Catalogs"; /** * Convert catalogs to the yaml format used by yarn v4 and pnpm. */ export declare function catalogsToYaml(catalogs: Catalogs, options?: { /** Number of spaces (default 2), or another indentation character */ indent?: number | string; }): string;