Search

Results include substring matches and semantically similar vals. Learn more
stubblyseeker avatar
untitled_salmonCrab
@stubblyseeker
// Fetches a random joke.
Script
// 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.
tangshengnan avatar
untitled_QiSQMKV8
@tangshengnan
An interactive, runnable TypeScript val by tangshengnan
Script
export let untitled_QiSQMKV8 = (() => {
return [{
url:
"http://www.school360.top/admin/#/iv?module=/new/page/risk.do#/sub-safety-warning-admin/riskPersonnel",
value: "查看详情12",
ryan5453 avatar
untitled_emeraldHaddock
@ryan5453
An interactive, runnable TypeScript val by ryan5453
Cron
export async function untitled_emeraldHaddock(interval: Interval) {
dan avatar
untitled0452023
@dan
An interactive, runnable TypeScript val by dan
Script
export let untitled0452023 = ?
jack avatar
untitled9020530
@jack
An interactive, runnable TypeScript val by jack
Script
import { name } from "https://esm.town/v/jack/name";
untitled9020530 = export let @jack.sayMyName = console.log(`my name is ${name}`)
stevekrouse avatar
untitled_azCU1Uy7
@stevekrouse
An interactive, runnable TypeScript val by stevekrouse
Script
export const untitled_azCU1Uy7 = console.email("yoooooooo");
alexpark0 avatar
untitled_silverMeerkat
@alexpark0
// 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.
stevekrouseTest avatar
untitled_tealMinnow
@stevekrouseTest
An interactive, runnable TypeScript val by stevekrouseTest
Script
import { runValAPIAuth } from "https://esm.town/v/stevekrouse/runValAPIAuth?v=21";
export let untitled_tealMinnow = runValAPIAuth({
val: "@stevekrouse.dm",
args: ["hi steve 2!"],
keys: exportedKeys,
moouhss avatar
untitled_indigoKangaroo
@moouhss
An interactive, runnable TypeScript val by moouhss
Script
export async function emailRandomJoke() {
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;
return email({
text: punchline,
ibrahimast avatar
untitled_olivePinniped
@ibrahimast
// Fetches a random joke.
Script
// 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_return_me_val
@stevekrouse
An interactive, runnable TypeScript val by stevekrouse
Script
import { private_library_val } from "https://esm.town/v/stevekrouse/private_library_val";
export function untitled_return_me_val() {
return private_library_val;
willthereader avatar
untitled_indigoMollusk
@willthereader
// console.log(typeof urls);
Script
export async function Sendingemail() {
// console.log("Sendingemail function called");
try {
let lastRunDate = new Date("2023-11-10T19:27:25.547Z");
lastRunDate = new Date();
const post_ids = await post_idFetcher();
// console.log("post_ids: ", post_ids);
const firstTwoPost_ids = post_ids.slice(2, 3);
const ReadTangleUrl = await Promise.all(firstTwoPost_ids.map(constructReadTangleUrl));
// console.log("ReadTangleUrl: ", ReadTangleUrl);
stevekrouse avatar
untitled_uUtvStzp
@stevekrouse
An interactive, runnable TypeScript val by stevekrouse
Script
import { untitled_DGAyQqyx } from "https://esm.town/v/stevekrouse/untitled_DGAyQqyx";
export const untitled_uUtvStzp = console.email({
html: untitled_DGAyQqyx,
subject: "TEST here",
andreterron avatar
untitled9361264
@andreterron
An interactive, runnable TypeScript val by andreterron
Script
untitled9361264 = export let 6
cufaoil avatar
untitled_amethystStork
@cufaoil
An interactive, runnable TypeScript val by cufaoil
HTTP (deprecated)
export async function untitled_amethystStork(request: Request): Promise<Response> {
return Response.json({ ok: true })