Mistri / isReactAppPrompt.mts
acecalisto3's picture
Upload 20 files
e9674a6 verified
raw
history blame
380 Bytes
export function isReactAppPrompt(prompt: string) {
const lowerCasePrompt = prompt.toLocaleLowerCase()
return lowerCasePrompt.includes("react")
|| lowerCasePrompt.includes("create react app")
|| lowerCasePrompt.includes("reactjs")
|| lowerCasePrompt.includes("next app")
|| lowerCasePrompt.includes("nextjs app")
|| lowerCasePrompt.includes("nextjs")
}