Skip to content

Runtime

Val Town code runs on the Deno runtime.

  • TypeScript and TSX are available for all vals, and at the time of this writing we support TypeScript 5.6.2.
  • There is no filesystem access permitted.
  • --allow-net is enabled, so they can make HTTP requests.
  • Vals have access to environment variables
  • The experimental Temporal API is enabled.

Included environment

  • fetch to make HTTP requests
  • import from npm and https

Versions

We run the same version of Deno, V8, and TypeScript for all vals.

At the time of this writing (likely out of date), we run:

  • Deno 2.1.2
  • V8 13.0.245.12-rusty
  • TypeScript 5.6.2