Skip to content

Val Town Docs

Val Town is a collaborative website to create and scale Javascript functions. Create APIs, crons, store data – all from the browser, and deployed in miliseconds.

What is a val?
  • Vals are hosted JavaScript functions
  • Vals run on the Val Town serverless platform
  • Vals can import other vals, NPM, and more
  • Vals can be public, unlisted, or private
  • Vals are run via the Deno runtime
  • Vals support JavaScript, TypeScript, JSX, and TSX

There are 4 types of vals, each with different triggers:

Where to start

If you’re new to Val Town, we recommend starting with Townie, our AI assistant that can write vals for you.

We also reccomend our quickstarts.

Val Town Standard Library

Our standard library provides free hosted services.

API and SDK

You can access Val Town programmatically via our REST API or JavaScript SDK.

Contact us

We’re here to help! If you have any questions or feedback, please reach out to us on Discord or email.