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=1548&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 20407 results for "function"(3419ms)

val_3t2CaHt9pCmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_3t2CaHt9pC(req) {
3 try {
4 // Execute the code directly and capture its result

val_lTAm4Rlhnfmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_lTAm4Rlhnf(req) {
3 try {
4 // Execute the code directly and capture its result

val_wOeFDx5oZjmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_wOeFDx5oZj(req) {
3 try {
4 // Execute the code directly and capture its result

val_YZn5WPiaWBmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_YZn5WPiaWB(req) {
3 try {
4 // Execute the code directly and capture its result

val_mbR6MeG8Gvmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_mbR6MeG8Gv(req) {
3 try {
4 // Execute the code directly and capture its result

obedientHarlequinHedgehogmain.tsx5 matches

@taurusismagic•Updated 6 months ago
38];
39
40function App() {
41 const [step, setStep] = useState(1);
42 const [platform, setPlatform] = useState("");
184}
185
186function renderApp() {
187 const root = document.getElementById("root");
188 if (root) {
193}
194
195function client() {
196 if (document.readyState === "loading") {
197 document.addEventListener("DOMContentLoaded", renderApp);
205}
206
207export default async function server(request: Request): Promise<Response> {
208 const { sqlite } = await import("https://esm.town/v/stevekrouse/sqlite");
209 const { email } = await import("https://esm.town/v/std/email");
463 transform: rotate(90deg);
464 transition: all 0.05s;
465 transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
466}
467

val_iSvZEYBUrNmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_iSvZEYBUrN(req) {
3 try {
4 // Execute the code directly and capture its result

val_aOBDB44PKBmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_aOBDB44PKB(req) {
3 try {
4 // Execute the code directly and capture its result

val_x1FBmxv9sDmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_x1FBmxv9sD(req) {
3 try {
4 // Execute the code directly and capture its result

val_vfbeq6V7yCmain.tsx1 match

@dhvanil•Updated 6 months ago
1
2 export async function val_vfbeq6V7yC(req) {
3 try {
4 // Execute the code directly and capture its result

getFileEmail4 file matches

@shouser•Updated 3 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.