@karmaniverous/jeeves-scripts-core
    Preparing search index...

    Function writeJsonFile

    • Write JSON (UTF-8) atomically: a temp file in the same directory, then a rename. indent 0 writes compact JSON; parent directories are created.

      Parameters

      • file: string
      • data: unknown
      • indent: number = 2

      Returns void