MCPcopy Create free account
hub / github.com/TanStack/cli / isRemoteUrl

Function isRemoteUrl

packages/cli/src/cli.ts:67–69  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

65}
66
67function isRemoteUrl(value: string) {
68 return /^https?:\/\//i.test(value) || /^file:\/\//i.test(value)
69}
70
71function sanitizeId(value: string) {
72 const normalized = value.trim().toLowerCase()

Callers 1

Calls 1

testMethod · 0.80

Tested by

no test coverage detected