Automatically generating types for Cloudflare Workers
November 16, 2021 1:58PM
Every time the Workers runtime code is built, a script runs over the public APIs and generates the Rust and TypeScript types as well as a JSON file containing an intermediate representation of the static types. The types are sent to the appropriate repositories and the JSON file is uploaded as well....
Continue reading »
Cryptocurrency API Gateway using Typescript+Workers
June 29, 2018 2:00PM
Typescript
JavaScript
Serverless
Cloudflare Workers
Crypto
If you followed part one, I have an environment setup where I can write Typescript with tests and deploy to the Cloudflare Edge with npm run upload. For this post, I want to take one of the Worker Recipes further....
Bootstrapping a Typescript Worker
June 27, 2018 2:00PM
Typescript
JavaScript
Serverless
Cloudflare Workers
Cloudflare Workers allows you to quickly deploy Javascript code to our 150+ data centers around the world and execute very close to your end-user. The edit/compile/debug story is already pretty amazing using the Workers IDE with integrated Chrome Dev Tools....
Generating Documentation for TypeScript Projects
November 22, 2016 1:28PM
JavaScript
AMP
Open Source
Programming
Typescript
Documentation for JavaScript projects has traditionally been generated via annotations inserted as code comments. While this gets the job done, it seems far from ideal. In this post, I’ll explore how to use TypeScript to generate documentation from source code alone....