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/?q=function&page=12&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 7168 results for "function"(331ms)

Notion_GCal_Syncnotion.ts1 match

@charmaine•Updated 2 days ago
17 * Create a new meeting prep page in Notion
18 */
19export async function createMeetingPage(data: MeetingPageData): Promise<string> {
20 const notionApiKey = Deno.env.get("NOTION_API_KEY");
21 const databaseId = Deno.env.get("NOTION_DATABASE_ID");

enthusiasticPinkDragonmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(interval: Interval) {
2 fsdfs;
3 fdfs;

cronmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(interval: Interval) {
2 fsdfs;
3}

fdfdmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(interval: Interval) {
2 fs;
3}

resourcefulAzureSturgeonmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(interval: Interval) {
2 fsfsfssfs;
3}

sfsfsfsmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(interval: Interval) {
2 fsfsfssfs;
3}

sfsmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(req: Request): Promise<Response> {
2 return Response.json({ ok: true });
3}

sgsesmain.tsx1 match

@sophiehouser•Updated 2 days ago
1export default async function(interval: Interval) {
2}

notionboxddiary-import.ts2 matches

@jclem•Updated 2 days ago
20const dbID = process.env.NOTION_DATABASE_ID!;
21
22export default async function main() {
23 const [header, ...rows]: string[][] = parse(csv);
24 const items = rows.map(row =>
114}
115
116async function existsByGUID(guid: string) {
117 const res = await notion.databases.query(
118 {

stevensDemotestDailyBrief.ts1 match

@lixP•Updated 2 days ago
4import { DateTime } from "https://esm.sh/luxon@3.4.4";
5
6export async function testDailyBrief() {
7 try {
8 const testChatId = Deno.env.get("TEST_TELEGRAM_CHAT_ID");

getFileEmail4 file matches

@shouser•Updated 4 days ago
A helper function to build a file's email

TwilioHelperFunctions

@vawogbemi•Updated 2 months ago