file
parseDirectoryFile ⇒ Promise.<(object|undefined)>
Parses the content of a directory file based on its extension and configuration.
Kind: global constant
Returns: Promise.<(object|undefined)>
- A promise that resolves with the parsed content of the file, or undefined if the file is a directory or has no associated parser.
Param | Type | Description |
---|---|---|
file | DirectoryFile | The file object representing the directory file to be parsed. |
options | PluginOptions | The plugin options providing configuration for the parsing. |