MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / normalizePathname

Function normalizePathname

content/activation-utils.js:17–19  ·  view source on GitHub ↗
(pathname)

Source from the content-addressed store, hash-verified

15 }
16
17 function normalizePathname(pathname) {
18 return String(pathname || '').trim().toLowerCase();
19 }
20
21 function getActivationStrategy(target = {}) {
22 const tagName = normalizeTagName(target.tagName);

Callers 1

getActivationStrategyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected