Start faster by scaffolding extensions from official templates instead of building folder structure and configuration from scratch.Documentation Index
Fetch the complete documentation index at: https://extension.js.org/llms.txt
Use this file to discover all available pages before exploring further.
Template capabilities
- Ready project structure: Start with a working manifest, scripts, and source layout.
- Stack-specific setup: Choose templates by framework and runtime needs.
- Faster onboarding: Move from idea to runnable extension in minutes.
- Consistent defaults: Reduce setup drift across projects and team members.
Quick usage
<slug> with the template you want to start from.
Available templates
Choose the stack default that matches your project. Each card scaffolds a minimal, runnable extension with a workingmanifest.json.
JavaScript
TypeScript
Svelte
Vue
Preact
React
How it works
When you runcreate --template=<slug>, Extension.js fetches the selected template, scaffolds the project files, and optionally installs dependencies.
More templates
Find official template sources in the examples repository: Template folder names map directly to--template=<slug>.
Best practices
- Use templates to scaffold your project quickly and efficiently.
- Start with a template that matches a technology stack you already know.
- Choose the browser extension context that best fits your project requirements.
Next steps
- Learn how browser runners help you validate extension behavior.
- Learn how Extension.js handles Environment variables.

