this repo has no description
1/** 2 * Ensures that Adam IDs are always represented with the same format 3 * 4 * "ID" segments in a URL typically include an `id` prefix that should 5 * not be present when using the value as an identifier for a resource 6 * in the Media APi. 7 * 8 * This function strips the prefix if present 9 */ 10export function normalizeAdamID(raw) { 11 if (raw.startsWith("id")) { 12 return raw.substring(2); 13 } 14 return raw; 15} 16//# sourceMappingURL=util.js.map