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.9.2.
  • There is no filesystem access permitted - but you can store file-like objects using Blob storage.
  • --allow-net is enabled, so they can make HTTP requests.
  • Vals have access to environment variables.
  • The experimental Temporal API is enabled.
  • fetch to make HTTP requests
  • import from npm and https

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.5.5
  • V8 14.0.365.5-rusty
  • TypeScript 5.9.2

Vals will access other resources from the following outbound IP addresses: you can use these if you need to whitelist IP addresses for a service like a database.

74.220.50.0/24
74.220.58.0/24