Function parseFileExtension

  • Parse a file extension from a path

    Parameters

    • path: string

      The path to parse

    Returns string

    file extension without the dot (e.g. 'png')