Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Bart_info.art.src%7D?q=function&page=1614&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=function

Returns an array of strings in format "username" or "username/projectName"

Found 19311 results for "function"(2742ms)

1// This val responds with an HTML form styled with fun CSS to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with CSS, allowing the user to input their name and receive a greeting upon submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with fun CSS to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with CSS to input the user's name and greet them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with CSS to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with CSS to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with CSS to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form styled with CSS to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());
1// This val responds with an HTML form to input the user's name and greets them upon form submission
2
3export default async function(req: Request): Promise<Response> {
4 if (req.method === "POST") {
5 const formData = new URLSearchParams(await req.text());

getFileEmail4 file matches

@shouser•Updated 2 weeks ago
A helper function to build a file's email
tuna

tuna8 file matches

@jxnblk•Updated 3 weeks ago
Simple functional CSS library for Val Town
lost1991
import { OpenAI } from "https://esm.town/v/std/openai"; export default async function(req: Request): Promise<Response> { if (req.method === "OPTIONS") { return new Response(null, { headers: { "Access-Control-Allow-Origin": "*",
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.