JSPM

create-cloudflare

0.0.0-05798038
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8353
  • Score
    100M100P100Q125018F
  • License MIT OR Apache-2.0

A CLI for creating and deploying new applications to Cloudflare.

Package Exports

  • create-cloudflare

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-cloudflare) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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, chatgptPlugin, or openapi.

Additional arguments

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

Community