Cloudflare Docs
Workers
Visit Workers on GitHub
Set theme to dark (⇧+D)

Get started with Wrangler

wrangler is a command line tool for building Cloudflare Workers.

Quick Start

npx wrangler init my-worker
# try it out
cd my-worker && npx wrangler dev
# and then publish it
npx wrangler publish
# visit https://my-worker.<your workers subdomain>.workers.dev

Installation

$ npm install wrangler --save-dev