chrome-extension-generator
v1.0.1
Published
A CLI tool to generate and scaffold Chrome Extensions
Readme
Chrome Extension Generator
Chrome Extension Generator is a command-line tool that simplifies the process of creating a basic structure for Chrome extensions. It generates a skeleton project with essential files and configurations, allowing developers to quickly start building their Chrome extensions.
Author
Keith I Myers
- Website: https://kmyers.me
- GitHub: https://github.com/KeithIMyers
Documentation
For detailed information on how to use and extend your Chrome extension, please visit our comprehensive guide:
Chrome Extension Development Guide
Basic Usage
To use the Chrome Extension Generator, follow these steps:
- Install the package globally:
sudo npm install -g chrome-extension-generator- Run the builder:
chrome-extension-generator- Follow the prompts to enter your extension details:
- Extension Name
- Version
- Description
- Author
- The tool will generate a new directory with your extension name, containing all necessary files:
manifest.json(Manifest V3)popup.html(Basic UI with button)popup.js(Popup interaction logic)background.js(Background service worker)icons/(Directory with icons in different sizes)
- Navigate to the newly created directory and start building your extension!
Loading Your Extension in Chrome
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select your extension directory
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
