Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
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
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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.