Code Monkey home page Code Monkey logo

create-chrome-ext-capsule's Introduction

Create Chrome Extension (.crx)

crx-preview

OSCS Status npm npm-download GitHub Language Count npm publish

Scaffolding your chrome extension, multiple boilerplates supported!

  • 馃殌 Lightning Fast HMR(use Vite2)
  • 馃ァ Out of Box
  • 馃寛 Multiple Frontend Framework Supported (9+)
  • 馃ア Multiple Language Supported (TypeScript & JavaScript)
  • 馃Ф Optimized Builds
  • 馃寳 Light & Dark Mode

EN涓枃

Installing

Node >= 14.18.0

# use npm-create command, or use pnpm | yarn
位 npm create chrome-ext

# or use npx command
位 npx create-chrome-ext

# or use npm-init command
位 npm init chrome-ext

Usage

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Svelte project, run:

# npm 6.x
位 npm create chrome-ext@latest my-crx-app --template svelte-js

# or npm 7+, extra double-dash is needed:
位 npm create chrome-ext@latest my-crx-app -- --template react-ts

# or yarn
位 yarn create chrome-ext my-crx-app --template vue-ts

# or pnpm
位 pnpm create chrome-ext my-crx-app --template vanilla-ts

You can also generator the project with crx cli, run:

位 npm install create-chrome-ext --global

# and then
位 crx my-crx-app
# or
位 crx my-crx-app --template preact-js
# or use create-chrome-exe (global env)
位 create-chrome-ext my-crx-app

Supported Templates

framework presets include:

ReactVueSveltePreactSolidAlpineLitInfernoStencilVanilla

languages supported:

JavaScriptTypeScript

Preview

crx-run crx-install crx-build

create-chrome-ext-capsule's People

Contributors

ambushfall avatar guocaoyi avatar justinyi922 avatar nityas avatar nsquare3 avatar tora-pan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.