• Removes .json or .json.gz extension from a file path returning the base file name.

    Parameters

    • filepath: string

      A file path.

    Returns string

    Base name of file referenced without .json or .json.gz extension.