1
2
3
4
5
6
7
8
9
10
11
12
import { getVal } from "https://esm.town/v/vez/getVal";
import { dot } from "https://esm.town/v/vez/dot";
import { getVals } from "https://esm.town/v/nate/getVals?v=4";
export const getAllVals = async (author: string) =>
(
await Promise.all(
(await getVals(author))
.map(dot("name"))
.map(getVal(author))
)
).map(dot("0"));
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
v2
October 23, 2023