getAll

View as MarkdownOpen in Claude

Return a shallow copy of the entire top-level configuration object.

Parameters

None.

Returns

Record<string, unknown> — A copy of the top-level config data.

Example

1import { ConfigLoader } from '@signalwire/sdk';
2
3const config = new ConfigLoader('./config.json');
4
5const allConfig = config.getAll();
6console.log(JSON.stringify(allConfig, null, 2));