File size: 380 Bytes
e9674a6
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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")
}