(prefix: string = 'ds')
| 16 | const CONFIG_FILE = 'data-sources.json' |
| 17 | |
| 18 | function generateId(prefix: string = 'ds'): string { |
| 19 | return `${prefix}_${crypto.randomBytes(6).toString('hex')}` |
| 20 | } |
| 21 | |
| 22 | export function normalizeBaseUrl(input: string): string { |
| 23 | let url = input.trim().replace(/\/+$/, '') |
no outgoing calls
no test coverage detected