MCPcopy Create free account
hub / github.com/deta/surf / getAppParser

Method getAppParser

packages/web-parser/src/index.ts:162–168  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

160 }
161
162 static getAppParser(url: string) {
163 const webParser = new WebParser(url)
164 const appParser = webParser.createAppParser()
165 if (!appParser) return null
166
167 return appParser
168 }
169
170 static getWebService(id: string) {
171 return SUPPORTED_APPS.find((app) => app.id === id) ?? null

Callers

nothing calls this directly

Calls 1

createAppParserMethod · 0.95

Tested by

no test coverage detected