1export function myApi(name) {
2 return "hi " + name;
3}
2import { prettifyTS } from "https://esm.town/v/pomdtr/prettifyTS";
3
4export async function openapi2TS(url: string) {
5 const yaml = await import("npm:yaml");
6 const resp = await fetch(url);
655 "https://www.itraveljerusalem.com/accommodation/little-house-in-the-colony",
656 "https://www.itraveljerusalem.com/accommodation/nof-hahan-zimmers",
657 "https://www.itraveljerusalem.com/accommodation/capitol-hotel",
658 "https://www.itraveljerusalem.com/accommodation/mamilla-hotel",
659 "https://www.itraveljerusalem.com/accommodation/city-center-hotel",
1007 "https://www.itraveljerusalem.com/attraction/rehavia-taxis",
1008 "https://www.itraveljerusalem.com/attraction/palmach-taxis",
1009 "https://www.itraveljerusalem.com/attraction/hapisga-taxis",
1010 "https://www.itraveljerusalem.com/attraction/jerusalem-taxis",
1011 "https://www.itraveljerusalem.com/attraction/jerusalem-light-rail",
1export function myApi(name, date) {
2 console.log("Here is something in the console");
3 return "hi " + name + date;
1import { myApi as myApi2 } from "https://esm.town/v/joakim/myApi";
2
3export function myApi(name) {
4 return "hi " + name + ". This is posted from " + myApi2;
5}
1export function myApi(name) {
2 return "hi " + name;
3}
41export function alias<P extends Params>(params: P): Promise<Result<P>> {
42 const username = params.username;
43 let url = `https://api.val.town/v1/alias/${username}`;
44 if ("valName" in params) {
45 url = url + `/${params.valName}`;
1export function myApi(name) {
2 return "hi " + name;
3}
3// GitHub followers
4export let githubFollowers = fetchJSON(
5 "https://api.github.com/users/stevekrouse/followers",
6);
6 );
7 const airtable = new Airtable({
8 apiKey: process.env.airtable_pat,
9 baseId: "appXSrKDlwbAijRmD",
10 tableName: "All content",