JSPM

create-cloudflare

0.0.0-4897710e
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 41554
  • Score
    100M100P100Q123864F
  • License MIT OR Apache-2.0

A CLI for creating and deploying new applications to Cloudflare.

Package Exports

  • create-cloudflare

Readme

create-cloudflare

A CLI for creating and deploying new applications to Cloudflare.

Usage

Setup via Interactive CLI

To create new applications via interactive CLI, run:

npm create cloudflare@latest
# or
pnpm create cloudflare@latest
# or
yarn create cloudflare

Setup via CLI Arguments

New Websites or Web applications via Frameworks

To create a new website or web framework without interaction, run:

npm create cloudflare@latest -- --type webFramework --framework <frameworkName>
# or
pnpm create cloudflare@latest ...
# or
yarn create cloudflare ...

Currently supported framework options: angular, astro, docusaurus, gatsby, hono, next, nuxt, qwik, react, remix, solid, svelte, vue.

New Workers via Templates

To create a new Javascript "Hello World" worker, run:

npm create cloudflare@latest hello-world -- --type hello-world --no-ts

To create a new Typescript "Hello World" worker, run:

npm create cloudflare@latest hello-world -- --type hello-world --ts

Current template options are: hello-world, common, or chatgptPlugin.

Additional arguments

--deploy deploy your application automatically, bypassing the interactive prompt
--no-deploy create and scaffold a new application and bypass deployment prompt

Community