Scans, lexes, and parses an HLedger journal file into a 'cooked' journal object format.
This method produces a !.!Journal object containing the
data from the journal source code in an organized format. All contextual information is
'baked in' to the data structure - e.g. inferred date years are expanded, default account
names are inserted, etc.
Scans, lexes, and parses an HLedger journal file into a 'cooked' journal object format. This method produces a !.!Journal object containing the data from the journal source code in an organized format. All contextual information is 'baked in' to the data structure - e.g. inferred date years are expanded, default account names are inserted, etc.
Example (ESModule)
Example (CommonJS)