Documentation

    Function getParser

    • Return the parser based on the file extension

      Parameters

      • file: string

        Path to the file

      Returns null | string | { language: unknown; name: string }

      • the parser to be used with the file or null if no parser is found
    MMNEPVFCICPMFPCPTTAAATR