@yamlresume/node
    Preparing search index...

    Function newResume

    • Creates a new resume file from a curated sample resume.

      Parameters

      • filename: string

        The name of the resume file to create.

      • sampleId: string

        The identifier of the sample resume to use.

      • language:
            | "en"
            | "zh-hans"
            | "zh-hant-hk"
            | "zh-hant-tw"
            | "es"
            | "fr"
            | "no"
            | "nl"
            | "ja"
            | "de"
            | "id"
            | "pt-br"

        The locale language of the sample resume.

      • options: NewResumeOptions = {}

        Optional settings.

      Returns void

      When there are file-related errors:

      • FILE_CONFLICT: When the file already exists
      • FILE_WRITE_ERROR: When there is an error writing the file