@yamlresume/playground
    Preparing search index...

    Function getBasename

    • Gets the basename from a filepath.

      Parameters

      • filepath: string = 'resume.yaml'

        The file path (e.g. "path/to/resume.yaml").

      • removeExtension: boolean = false

        Whether to remove the file extension.

      Returns string

      The basename of the file.