• Normalize a file extension to be of the type '.foo'.

    Parameters

    • extension: string

      the file extension.

      Notes

      Adds a leading dot if not present and converts to lower case.

    Returns string