Search

234 results found for aoc (3901ms)

Docs
96

titled “Drag and drop” While editing markdown in a val, you can drag and drop image files in the editor. You’ll see a toast message while the image is uploading
Val Town builds upon the new http-style imports, to make a lightweight package registry, but where each snippet of code is a package. Private vals are only importable with the
we’ll migrate it to a Val Town Project. This process is fully automated and takes just a few seconds. Naming. Section titled “Naming” Your val becomes a Val Town Project
any. ); console.log(rows); // [ { key: "d65991f8-6f03-4275-bcf1-1fdb1164e153", value: "value1" } ] Create a table. Section titled “Create a table” Table creationRun in Val Town ↗ import { sqlite }
took two arguments: a request and a response, and their return value was ignored. HTTP vals receive a Request as an argument and they need to return a Response object
about this page. To use JSX, you’ll need to insert what TypeScript calls a “per-file pragma” - a comment that uses @jsxImportSource to specify where the JSX methods are going
page. Val Town was originally built on a NodeJS runtime. On March 14th, 2023 we cut over to a Deno-based runtime. There are a few breaking changes with the new
scrape websites, either by fetching HTML and using a parsing library, or by making an API call to an external service that runs a headless browser for you. Locate the
“Create a new hook” Name your webhook. Select what table (e.g. users) and events (e.g. INSERT) to hook into. Copy your val’s HTTP endpoint and paste it in. Create a
} } HTTP Lifecycle. Section titled “HTTP Lifecycle” When your HTTP file receives a request, we spin up a process to serve it. We keep that process alive for some