Documentation
Preparing search index...
fs/glob
getParser
Function getParser
getParser
(
file
:
string
)
:
null
|
string
|
{
language
:
unknown
;
name
:
string
}
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Return the parser based on the file extension