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

Function getFrameworkById

packages/create/src/edge-frameworks.ts:51–57  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

49})
50
51export function getFrameworkById(id: string) {
52 if (id === 'react-cra') {
53 return frameworks.find((framework) => framework.id === 'react')
54 }
55
56 return frameworks.find((framework) => framework.id === id)
57}
58
59export function getFrameworkByName(name: string) {
60 return frameworks.find(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected