Skip to content

50onRed/cloudflare-worker-typescript-template

Repository files navigation

TypeScript Cloudflare Workers Project Template

Libraries

Getting Started

Use this Github Repository Template or fork the repo to get started.

Node Environment Setup

This project uses nvm

Install correct version of node:

nvm install

To activate the correct version:

nvm use

Install Dependencies

npm i

🔥 Code Away 🔥

Run your code locally

npm run server

Preview Your Worker on CloudFlare

npm run preview

Deploy Your Code to Production

First, edit the wrangler.toml file with your production configuration for Cloudflare.

Deploy your code with:

npm run publish

Other Tools/Libraries to Consider:

About

Cloudflare Worker Typescript Project Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •