Search
untitled_harlequinDragon
@bantic
An interactive, runnable TypeScript val by bantic
Script
export default function() {
console.log("hi");
return "foo";
untitled2342187
@byrneml
// Get news from different sources I care about
Script
desc: String,
url: String,
export async function giveMeLeNews({ feedlyAPI }: LeNews) {
return "Works";
untitled_harlequinDingo
@juwang110
An interactive, runnable TypeScript val by juwang110
Script
async function emailRandomJoke() {
async function fetchRandomJoke() {
const response = await fetch(
"<https://official-joke-api.appspot.com/random_joke>",
untitled_coralChinchilla
@pujdesai
An interactive, runnable TypeScript val by pujdesai
Email
export async function untitled_coralChinchilla(email: Email) {
async function emailRandomJoke() {
async function fetchRandomJoke() {
const response = await fetch(
untitled_coffeePanda
@jain_aha
// Fetches a random joke.
Cron
import { email } from "https://esm.town/v/std/email?v=9";
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
untitled_moccasinWildebeest
@rcurtiss
@jsxImportSource https://esm.sh/preact
HTTP
/** @jsxImportSource https://esm.sh/preact */
import { render } from "npm:preact-render-to-string";
export default async function(req: Request) {
return new Response(
render(
untitled_bronzeSmelt
@mustafaahmedfarooqui
// Fetches a random joke.
Cron
// ... imports ...
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
untitled_indigoPtarmigan
@liviacutra
An interactive, runnable TypeScript val by liviacutra
Script
function fetchRandomJoke() {
const response = fetch(
"https://official-joke-api.appspot.com/random_joke",
return response;
async function RandomJoke() {
const JOKE = {
"setup": "What do you call a group of disorganized cats?",
![stevekrouse avatar](https://images.clerk.dev/uploaded/img_2PqHa2Gsy93xQrjh2w78Xu0cChW.jpeg)
untitled_limeBeetle
@stevekrouse
// console.log(import.meta, getMeta());
Script
import { refs } from "https://esm.town/v/stevekrouse/refs";
function a() {
console.log(refs());
a();
untitled_jadeMollusk
@MuXiu1997
An interactive, runnable TypeScript val by MuXiu1997
HTTP
export default async function (req: Request): Promise<Response> {
return Response.json({ ok: true })
![stevekrouse avatar](https://images.clerk.dev/uploaded/img_2PqHa2Gsy93xQrjh2w78Xu0cChW.jpeg)
untitled_mutate_test_state
@stevekrouse
An interactive, runnable TypeScript val by stevekrouse
Script
let { untitled_test_state } = await import("https://esm.town/v/stevekrouse/untitled_test_state");
export function untitled_mutate_test_state(newState) {
return (untitled_test_state = newState);
untitled_scarletPinniped
@hiteshjoshi
An interactive, runnable TypeScript val by hiteshjoshi
HTTP
export default async function(req: Request): Promise<Response> {
return Response.json({ ok: false });
untitled_lavenderWildfowl
@aounw
// Fetches a random joke.
Cron
import { email } from "https://esm.town/v/std/email?v=9";
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
untitled_sapphireSlug
@lolocoo
An interactive, runnable TypeScript val by lolocoo
HTTP
const googleCxId = "70c6ff0b41f6943a4";
const baseurl = "https://www.googleapis.com/customsearch/v1";
export default async function(req: Request): Promise<Response> {
const { searchKey } = await req.json();
if (!searchKey) {