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

Function getFrameworkById

packages/create/src/frameworks.ts:157–163  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

155}
156
157export function getFrameworkById(id: string) {
158 if (id === 'react-cra') {
159 return frameworks.find((framework) => framework.id === 'react')
160 }
161
162 return frameworks.find((framework) => framework.id === id)
163}
164
165export function getFrameworkByName(name: string) {
166 return frameworks.find(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected