
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
create-typescript-extension
Advanced tools
CLI to scaffold a TypeScript browser extension project
A robust, modern starter template for building Chrome extensions using TypeScript, Webpack, and best practices for browser extension development.
To create a new project, run the following command:
npx create-typescript-extension <project-name>
or to create a project in the current directory, run the following command:
npx create-typescript-extension .
To install the CLI to the system, run the following command:
npm install -g create-typescript-extension
and then you can use the CLI to create a new project by running the following command:
create-typescript-extension <project-name>
yarn dev
yarn build
chrome://extensions/
dist
directory, it's already set in the manifest.json├── src/
│ ├── content/
│ │ └── index.ts # Content script entry point
│ └── worker/
│ └── index.ts # Service worker entry point
├── dist/ # Compiled extension files
├── webpack.config.js # Webpack configuration
├── tsconfig.json # TypeScript configuration
└── manifest.json # Chrome extension manifest
The extension requests the following Chrome permissions by default. You can modify the permissions in the manifest.json file.
scripting
activeTab
storage
declarativeNetRequest
tabs
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE
for more information.
Harshit Budhraja - @harshitbudhraja on X (previously, Twitter)
Note: This is a starter template. Remember to customize it to fit your specific extension's needs!
FAQs
CLI to scaffold a TypeScript browser extension project
The npm package create-typescript-extension receives a total of 1 weekly downloads. As such, create-typescript-extension popularity was classified as not popular.
We found that create-typescript-extension demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.