MCPcopy Index your code
hub / github.com/devploit/debugHunter / appendParam

Function appendParam

background.js:602–606  ·  view source on GitHub ↗
(url, param)

Source from the content-addressed store, hash-verified

600// ============================================================================
601
602function appendParam(url, param) {
603 const u = new URL(url);
604 u.searchParams.set(param.key, param.value);
605 return u.href;
606}
607
608async function checkParams(url, baseline = null) {
609 const settings = await getSettings();

Callers 1

checkParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected