Skip to navigation

Return a shallow copy of the entire loaded configuration. Matches Python’s get_config().

Returns

Record<string, unknown> — a shallow copy of the top-level config object.

Example

import { ConfigLoader } from '@signalwire/sdk';
const loader = new ConfigLoader('config.json');
const config = loader.getConfig();
console.log(Object.keys(config));