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/image-url.jpg?q=react&page=876&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 9281 results for "react"(1236ms)

2
3ts
4/** @jsxImportSource https://esm.sh/react */
5import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
6import { updateValByName } from "https://esm.town/v/nbbaier/updateValByName?v=14";
11import _ from "npm:lodash@4";
12import OpenAI from "npm:openai";
13import { renderToString } from "npm:react-dom/server";
14
15const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });
1/** @jsxImportSource https://esm.sh/react */
2import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
3import { updateValByName } from "https://esm.town/v/nbbaier/updateValByName?v=14";
8import _ from "npm:lodash@4";
9import OpenAI from "npm:openai";
10import { renderToString } from "npm:react-dom/server";
11
12const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });
1/** @jsxImportSource https://esm.sh/react */
2import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
3import { passwordAuth } from "https://esm.town/v/pomdtr/password_auth?v=84";
7import _ from "npm:lodash@4";
8import OpenAI from "npm:openai";
9import { renderToString } from "npm:react-dom/server";
10
11const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });
1/** @jsxImportSource https://esm.sh/react */
2import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
3import { passwordAuth } from "https://esm.town/v/pomdtr/password_auth?v=84";
7import _ from "npm:lodash@4";
8import OpenAI from "npm:openai";
9import { renderToString } from "npm:react-dom/server";
10
11const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });
12import _ from "npm:lodash";
13import OpenAI from "npm:openai";
14import { renderToString } from "npm:react-dom/server";
15
16const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });
3
4/**
5 * @jsxImportSource https://esm.sh/react@17.0.2
6 */
7

VALLEmain.tsx2 matches

@pomdtr•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import valleGetValsContextWindow from "https://esm.town/v/janpaul123/valleGetValsContextWindow";
3import { updateValByName } from "https://esm.town/v/nbbaier/updateValByName?v=14";
8import _ from "npm:lodash@4";
9import OpenAI from "npm:openai";
10import { renderToString } from "npm:react-dom/server";
11
12const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });

valTownChatGPT2main.tsx2 matches

@janpaul123•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import getValsContextWindow from "https://esm.town/v/janpaul123/getValsContextWindow";
3import { updateValByName } from "https://esm.town/v/nbbaier/updateValByName?v=14";
7import { Hono } from "npm:hono@3";
8import OpenAI from "npm:openai";
9import { renderToString } from "npm:react-dom/server";
10
11const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });

linkInBioTemplatemain.tsx2 matches

@AP123•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

linkInBioTemplatemain.tsx9 matches

@hbcoop•Updated 9 months ago
1/** @jsxImportSource https://esm.sh/react@17.0.2 */
2import { renderToString } from "https://esm.sh/react-dom@17.0.2/server";
3import React from "https://esm.sh/react@17.0.2";
4
5const gradientBackground: React.CSSProperties = {
6 background: "linear-gradient(135deg, #00a8e8 0%, #007ea7 100%)",
7 minHeight: "100vh",
11};
12
13const containerStyle: React.CSSProperties = {
14 padding: "30px",
15 width: "300px",
22};
23
24const headingStyle: React.CSSProperties = {
25 color: "#ffffff",
26 marginBottom: "10px",
27};
28
29const subheadingStyle: React.CSSProperties = {
30 color: "#e0f7fa",
31 marginBottom: "20px",
32};
33
34const buttonContainerStyle: React.CSSProperties = {
35 display: "flex",
36 flexDirection: "column",
38};
39
40const buttonStyle: React.CSSProperties = {
41 padding: "12px",
42 color: "#007ea7",

IClickWolf4 file matches

@vtTestLocal•Updated 19 hours ago
Starter template with client-side React & Hono server

vt-discord4 file matches

@boucher•Updated 5 days ago
Starter template with client-side React & Hono server
effector
Write business logic with ease Meet the new standard for modern TypeScript development. Type-safe, reactive, framework-agnostic library to manage your business logic.
officialrajdeepsingh
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh