Function: loadConfigFile()
loadConfigFile(
filepath):Promise<Record<string,unknown>>
Defined in: javascript/src/load-config-file.ts:66
Read a JSON or YAML Bursar config file from disk.
Returns the raw parsed dict (suitable for loadConfigFromDict or
PricingEngine.fromDict).
JSON syntax is validated by the platform parser and mapping keys are also checked by js-yaml so duplicate config fields cannot silently overwrite.
Parameters
filepath
string
Returns
Promise<Record<string, unknown>>