drishit96 / cloudflareworkers-typescript-template

A template for kick starting a TypeScript Cloudflare worker project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloudflareworkers-typescript-template

A template for kick starting a TypeScript Cloudflare worker project.

πŸ”‹ Getting Started

This template is meant to be used with Wrangler. If you are not already familiar with the tool, we recommend that you install the tool and configure it to work with your Cloudflare account. Documentation can be found here.

To generate using Wrangler, run this command:

wrangler generate my-ts-project https://github.com/drishit96/cloudflareworkers-typescript-template

πŸ’» Developing

To start local server at http://127.0.0.1:8787, run this command:

wrangler dev

✏️ Formatting

This template uses prettier to format the project. To invoke, run npm run format.

πŸ‘€ Publishing

For information on how to preview and publish your worker, please see the Wrangler docs.

🀒 Issues

If you run into issues with this specific project, please feel free to file an issue here. If the problem is with Wrangler, please file an issue here.

About

A template for kick starting a TypeScript Cloudflare worker project

License:MIT License


Languages

Language:TypeScript 100.0%