
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
create-react-chrome-ext
Advanced tools
Template for createing react chrome extension + webpack + typescript/javascript
The fastest way to create a Chrome Extension project with React 19, TypeScript/JavaScript, and Webpack
A CLI tool that scaffolds a modern Chrome Extension project using React 19 and Webpack, similar to how create-react-app works. Get up and running with a fully configured Chrome Extension development environment in seconds.
npx create-react-chrome-ext
# Follow the interactive prompts
cd your-project-name
npm install
npm run dev
npx create-react-chrome-ext
npm install -g create-react-chrome-ext
create-react-chrome-ext
yarn create react-chrome-ext
When you run the command, you'll be guided through an interactive setup:
npx create-react-chrome-ext
🚀 Create Chrome Extension with React
√ Project name: ... my-awesome-extension
√ Choose language: » JavaScript
✅ Project created successfully!
👉 Next steps:
cd my-awesome-extension
npm install
npm run dev
Once your project is created, you can run the following commands:
npm run devStarts the Webpack development server with watch mode and automatic extension reloading. Perfect for active development.
npm run buildCreates an optimized production build using Webpack in the dist folder, ready for packaging and publishing to the Chrome Web Store.
After creating your extension, you'll get a project structure like this:
my-extension/
├── public/
│ ├── icons/
│ │ ├── icon16.png
│ │ ├── icon48.png
│ │ └── icon128.png
│ └── manifest.json
├── src/
│ ├── background/
│ │ └── background.js
│ ├── content/
│ │ └── content.js
│ └── popup(react app)/
│ ├── App.jsx
│ ├── App.css
│ └── index.jsx
│
├── package.json
├── webpack.config.js
├── webpack.dev.js
├── webpack.prod.js
└── README.md
src/popup/: React 19-based popup interface that appears when users click the extension iconsrc/background/: Service worker script that handles extension lifecycle and background taskssrc/content/: Content script that runs in the context of web pagespublic/manifest.json: Chrome Extension manifest file (Manifest V3)public/icons/: Extension icons in required sizesnpm run dev
chrome://extensions/dist folderchrome://extensions/ → Click "background page"npm run build
The dist folder will contain your packaged extension ready for the Chrome Web Store.
Edit public/manifest.json to customize permissions, content scripts, and other extension settings.
npm install <package-name>
We welcome contributions! Please see our contributing guidelines:
git clone https://github.com/yourusername/create-chrome-ext.git
cd create-chrome-ext
npm install
npm link
# Test the CLI locally
create-react-chrome-ext
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)Please use the GitHub issue tracker to report bugs or request features.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy Extension Building! 🎉
If you find this tool helpful, please consider giving it a ⭐ on GitHub!
FAQs
Template for createing react chrome extension + webpack + typescript/javascript
The npm package create-react-chrome-ext receives a total of 0 weekly downloads. As such, create-react-chrome-ext popularity was classified as not popular.
We found that create-react-chrome-ext demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.