Function catalogsToYaml

  • Convert catalogs to the yaml format used by yarn v4 and pnpm.

    Parameters

    • catalogs: Catalogs
    • options: {
          indent?: string | number;
      } = {}
      • Optional indent?: string | number

        Number of spaces (default 2), or another indentation character

    Returns string