Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🧩 The cross-browser extension framework.

License

NotificationsYou must be signed in to change notification settings

extension-js/extension.js

Repository files navigation

The cross-browser extension framework

Logo

Extension.js makes it very easy to develop cross-browser extensions.
Developers prefer it for its fast builds, unified interface, and zero configuration setup.

Create A New Extension

Use thecreate command to generate a new extension. Also works with pnpm, yarn, and bun.

npx extension@latest create my-extensioncd my-extensionnpm run dev

Watch Demo

create-a-new-extension.mp4

Web Standards and Framework Support

ESNext
latest
TypeScript
latest
WASM
latest
React
18+
Vue
3+
Svelte
5+
Preact
10+
Angular
👋
Solid
👋

👋 = PR Welcome!

Get Started Immediately

Start developing an extension using a sample from Chrome Extension Samples

See the example below where we request the samplepage-redder fromGoogle Chrome Extension Samples.

Watch Demo

chrome-extension-sample-page-redder-on-edge.mp4

Try Yourself

npx extension@latest dev https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.page-redder --browser=edge

I have An Extension

If you have an existing extension which is using a package manager, you can install the Extension.js package and manually create the scripts used to run your extension.

See How It Works

usage-with-an-existing-extension.mp4

Step 1 - Install extension as adevDependency

npm install extension@latest --save-dev

Step 2 - Link your npm scripts with the executable Extension.js commands

{"scripts": {"build":"extension build","dev":"extension dev","preview":"extension preview"  },"devDependencies": {// ...other dependencies"extension":"latest"  }}

Done. You are all set!

  • To develop the extension, runnpm run dev.
  • To build the extension in production mode, runnpm run build.
  • To visualize the extension in production mode, runnpm run build andnpm run preview.

Using a specific browser for development

Desktop Browsers

Chrome
Edge
Firefox
Opera
☑️
Safari
⛔️
Chromium
☑️

The browsers listed above represent those with official extension stores. Note that Chromium-based browsers (like Arc, Brave, Vivaldi, and many others) are theoretically supported through the Chrome/Chromium compatibility layer.

Mobile Browsers

Firefox (Android)
⛔️
Safari (iOS)
⛔️

License

MIT (c) Cezar Augusto and the Extension.js Authors.

Sponsor this project

  •  

Contributors20


[8]ページ先頭

©2009-2025 Movatter.jp