create npm package for react code example
Example 1: npm create react app
npx create-react-app app-name
cd app-name
npm start
Example 2: npm create react app
npx --ignore-existing create-react-app .
npx create-react-app app-name
cd app-name
npm start
npx --ignore-existing create-react-app .