@contentauth/c2pa-node / loadSettingsFromFile
Function: loadSettingsFromFile()
loadSettingsFromFile(
filePath):Promise<void>
Defined in: Settings.ts:41
Load settings from a TOML or JSON file path and apply them globally. The file format is determined by the file extension (.toml for TOML, otherwise JSON).
Parameters
filePath
string
The path to the settings file
Returns
Promise<void>