1
2
3
4
5
6
7
8
9
10
11
import { fetchText } from "https://esm.town/v/stevekrouse/fetchText";
import { dateMeProfiles } from "https://esm.town/v/stevekrouse/dateMeProfiles";
// can only do first 100 because Val Town only allows 100 fetches per run
export let allDateMeDocsLength =
(await Promise.all(
dateMeProfiles.slice(0, 100).map((p) =>
p.Profile?.at(0)?.href &&
fetchText(p.Profile[0].href).catch((e) => void 0)
),
)).join("").length;