• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
petermillspaugh

petermillspaugh

docs

markdown docs site
Public
Like
docs
Home
Code
5
components
4
images
1
pages
6
styles
1
H
index.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
pages
/
vals
/
index.md
Code
/
pages
/
vals
/
index.md
Search
10/16/2025
Viewing readonly version of main branch: v507
View latest version
index.md
nav:
Vals
title:
Overview
description:
Learn about the basics of Vals

Vals are the building blocks of Val Town. They can be used to create APIs, crons, websites, and email handlers with JavaScript.

A val is a collaborative, versioned folder of deployed code. It includes everything you need to run code in the cloud, including:

  • HTTP, Cron, and Email triggers
  • Environment variables ↗
  • Import from other NPM, JSR, and more ↗
  • Access controls ↗
  • Version control & collaboration: reversions, branching, remixes, pull requests
  • The Deno runtime ↗
  • Logs & traces

Triggers

There are 3 types of triggers that JavaScript files within a val can have:

  • HTTP: Triggered by https requests. You can make APIs or websites
  • Cron: Triggered by a timer or cron expression
  • Email: Triggered by an incoming email

Versioning & Collaboration

Every file change is automatically versioned. Rollbacks are instantaneous. You can create branches and remixes for development and collaborating.

  • Branches: Create branches for feature development, testing, and sharing
  • Remixes: Remix another user's val to make changes and send a pull request
  • Pull Requests: Merge changes from a branch or remix back into the parent val
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.