MCPcopy Index your code
hub / github.com/massCodeIO/massCode / findFirstUrl

Function findFirstUrl

integrations/clipper/src/api.ts:130–132  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

128}
129
130function findFirstUrl(text: string): string | undefined {
131 return text.match(/https?:\/\/\S+/)?.[0]
132}
133
134export function getCodeLanguage(payload: PageCapturePayload): string {
135 const sourceName

Callers 2

buildCaptureRequestFunction · 0.85
getCaptureNameSuggestionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected