Search

Results include substring matches and semantically similar vals. Learn more
andreterron avatar
untitled_aquamarineLizard
@andreterron
An interactive, runnable TypeScript val by andreterron
Script
export let untitled_aquamarineLizard = () => {
throw Error("Test notification");
ingenieroariel avatar
untitled_plumWombat
@ingenieroariel
An interactive, runnable TypeScript val by ingenieroariel
Script
import { countries } from "https://esm.town/v/ingenieroariel/countries";
export let untitled_plumWombat = countries["AF"];
racheldes avatar
untitled_greenTortoise
@racheldes
// Fetches a random joke.
Cron
// Fetches a random joke.
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
return response.json();
const randomJoke = await fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
divyathoppae avatar
untitled_brownOstrich
@divyathoppae
// Fetches a random joke.
Cron
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
return response.json();
const randomJoke = await fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
export const emailRandomJoke = email({
sarahzhang avatar
untitled_apricotWalrus
@sarahzhang
// Fetches a random joke.
Cron
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
return response.json();
const randomJoke = await fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
export const emailRandomJoke = email({
stevekrouse avatar
untitled_DGAyQqyx
@stevekrouse
An interactive, runnable TypeScript val by stevekrouse
Script
export const untitled_DGAyQqyx = hnStoryToHTML({
created_at: "2023-05-18T16:20:55.000Z",
title: "Show HN: Playtext – Turn articles into audiobooks and read 2x faster",
url: "https://playtext.app",
author: "phemartin",
points: 1,
story_text: null,
comment_text: null,
num_comments: 0,
story_id: null,
fenghaozhetiomot avatar
untitled_purpleLizard
@fenghaozhetiomot
// Fetches a random joke.
Cron
// Fetches a random joke.
function fetchRandomJoke() {
const SAMPLE_JOKE = {
"setup": "What do you call a group of disorganized cats?",
"punchline": "A cat-tastrophe.",
return SAMPLE_JOKE;
const randomJoke = fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
ingenieroariel avatar
untitled_limeHornet
@ingenieroariel
// investigate how to load duckdb with spatial extensions in this context in order to load buildings from s3.
Script
// investigate how to load duckdb with spatial extensions in this context in order to load buildings from s3.
export const untitled_limeHornet = (async () => {
COPY(
SELECT,
type,
subType,
localityType,
adminLevel,
isoCountryCodeAlpha2,
JSON(names),
swarkewalia avatar
untitled_salmonWhale
@swarkewalia
// Fetches a random joke.
Cron
// Fetches a random joke.
function fetchRandomJoke() {
const response = fetch(
"https://official-joke-api.appspot.com/random_joke",
return response;
const randomJoke = fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
export const emailRandomJoke = email({
sdan avatar
untitled_coralChimpanzee
@sdan
An interactive, runnable TypeScript val by sdan
Script
import { extractValArgs } from "https://esm.town/v/sdan/extractValArgs";
export const untitled_coralChimpanzee = (async (fnc: string) => {
console.log(fnc);
const rep = await extractValArgs("sdan.getWeather");
console.log("coral chimp");
console.log(rep);
return rep;
lbrissette avatar
untitled_brownTurtle
@lbrissette
// Fetches a random joke.
Cron
// Fetches a random joke.
async function fetchRandomJoke() {
const response = await fetch(
"https://official-joke-api.appspot.com/random_joke",
return response.json();
const randomJoke = fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
export const emailRandomJoke = email({
stevekrouse avatar
untitled_whiteWorm
@stevekrouse
An interactive, runnable TypeScript val by stevekrouse
Script
import { newJSJamMessage } from "https://esm.town/v/stevekrouse/newJSJamMessage";
export let untitled_whiteWorm = newJSJamMessage(
"hi from steve",
nbbaier avatar
untitled_chocolateMarmot
@nbbaier
An interactive, runnable TypeScript val by nbbaier
Script
const FINDME = "does this return?";
jayantkum avatar
untitled_silverCamel
@jayantkum
// Fetches a random joke.
Cron
// Fetches a random joke.
function fetchRandomJoke() {
const SAMPLE_JOKE = {
"setup": "What do you call a group of disorganized cats?",
"punchline": "A cat-tastrophe.",
return SAMPLE_JOKE;
const randomJoke = fetchRandomJoke();
const setup = randomJoke.setup;
const punchline = randomJoke.punchline;
// Sends an email with the joke.
eric avatar
untitled0045282
@eric
An interactive, runnable TypeScript val by eric
Script
import { getEmails } from "https://esm.town/v/eric/getEmails";
untitled0045282 = export async function asyncSubscribe() {
const s = await getEmails()
console.log(s)
Array.from(arguments).forEach(x => s.add(x))
await setEmails(s)
return emails.length