Warning: This feature is a work in progress and may be incomplete or subject to change. If you see an error or something that could be improved, please make a pull-request. The link that documents this feature can be found at the bottom of the page.
Extension.js allows you to create new browser extensions quickly by using templates. Templates provide pre-built structures, components, and configurations that fit various needs and technologies. By using the --template
flag, you can select the one that best suits your project requirements.
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
An Extension.js template
npx extension create <your-extension-name> --template=init
When you run the create
command with the --template
flag, Extension.js fetches the template from the repository and generates the project structure based on the template. This process includes installing dependencies, setting up configurations, and creating the necessary files for the extension.
You can find a list of all officially supported templates here. Their folder name is the template param name like so, --template=<folder_name>
.