Val Town is a social website to write and deploy JavaScript. Create APIs, websites, scheduled functions, email yourself,
and persist data — all from the browser and instantly deployed.
- Vals are runnable JavaScript, TypeScript, and JSX modules
- Vals can import other vals, NPM, and more ↗
- Vals can be public, unlisted, or private ↗
- Vals are run via the Deno runtime
- There are different kinds of vals:
- Script ↗ - freeform, run manually, for one-off operations or testing
- HTTP ↗ - expose an API endpoint, make a website, or accept webhooks
- Scheduled ↗ - trigger code on a timer or cron schedule
- Email ↗ - trigger code on an incoming email
- The Val Town Standard Library provides a set of useful services:
- Blob Storage ↗ - store and retrieve any data
- SQLite ↗ - store and retrieve structured data
- Email ↗ - send emails