
Val Town Has a Free API — Run TypeScript Functions in the Cloud Instantly
TL;DR Val Town lets you write, run, and deploy TypeScript functions in the cloud with zero infrastructure. Create APIs, cron jobs, and email handlers — all from your browser. Free tier includes 100K function calls/month. What Is Val Town? Val Town is a social coding platform: Instant deployment — write a function, it's live immediately HTTP endpoints — each function gets a URL Cron jobs — schedule functions to run on intervals Email handlers — receive and process emails SQLite database — built-in persistence NPM packages — import any npm package Free tier — 100K requests/month Quick Start Go to val.town and create a new val: // HTTP endpoint — instantly gets a URL export default async function ( req : Request ): Promise < Response > { const url = new URL ( req . url ); const name = url . searchParams . get ( " name " ) || " World " ; return Response . json ({ message : `Hello, ${ name } !` , timestamp : new Date (). toISOString (), }); } // Live at: https://username-funcname.web.val.ru
Continue reading on Dev.to JavaScript
Opens in a new tab


