Construct a FileParser
Performs a check to makes sure file system methods are supported before continuing.
Create a ReportBuilder from the given options
base directory that all paths are relativized from
The type of builder that should be created. Defaults to Simple
ReportBuilder
Parse (Asynchronously)
Parse an input with the given options and return a Promise of a Report.
path to file that contains data to parse
Optional options to control how the report is generated:
Promise that resolves with a parsed Report
Parse the string contents and return a Report
string containing input that should be parsed
base directory that all paths are relativized from
The type of builder that should be created
Parsed Report
Parse (Synchronously)
Parse an input with the given options and return a Report.
path to file that contains data to parse
Optional options to control how the report is generated:
Parsed Report
Generated using TypeDoc
File Parser
An extension of {@link Parser | Parser} that supports reading data from files when generating reports.