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/$%7Burl%7D?q=function&page=1771&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 18628 results for "function"(4568ms)

myApimain.tsx1 match

@lawrencewu•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

ghOrgReposmain.tsx1 match

@augustohp•Updated 1 year ago
1export async function ghOrgRepos(
2 owner: string,
3 token: string,
1import { miraclechildcounter } from "https://esm.town/v/politelyinvinciblepointer/miraclechildcounter";
2
3export function getmiraclechildcounter() {
4 return miraclechildcounter;
5}

myApimain.tsx1 match

@jcrowe•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

aqiNotifiermain.tsx1 match

@realog•Updated 1 year ago
2import { easyAQI } from "https://esm.town/v/stevekrouse/easyAQI?v=3";
3
4export async function aqiNotifier(location) {
5 // The realtime Air Quality Index (AQI) for any location
6 const myAQI = await easyAQI({

myApimain.tsx1 match

@dhaya•Updated 1 year ago
1export function myApi(name) {
2 return "yo " + name;
3}

myApimain.tsx1 match

@cburgos0511•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

generateColormain.tsx1 match

@rodrigotello•Updated 1 year ago
1import { convertRGBToHex } from "https://esm.town/v/rodrigotello/convertRGBToHex";
2
3export function generateColor(cssColorObject) {
4 return `#${
5 Object.values(cssColorObject)

myApimain.tsx1 match

@devgio•Updated 1 year ago
1export function myApi(name) {
2 return "hi " + name;
3}

getCNNNewsmain.tsx1 match

@fab1an•Updated 1 year ago
1import { fetch } from "https://esm.town/v/std/fetch";
2
3export async function getCNNNews() {
4 const response = await fetch(
5 "https://saurav.tech/NewsAPI/everything/cnn.json"

getFileEmail4 file matches

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

tuna8 file matches

@jxnblk•Updated 2 weeks ago
Simple functional CSS library for Val Town
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.
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": "*",