nbbaier-vtideastemplate.web.val.run
Readme

Your Val Town Ideas!

This is a template val for those who want to start their own Val Town Idea List. Inspired by this val.

  • your super cool ideas start here

Adding your val to the Val Town Idea List Aggregator

If you would like to have this val aggregated here, make sure to do the following:

  1. Add the following metadata to the top of this val's code:
// @vtIdeas 
// @title <insert a nice title>
  1. Rename this val, using a non-reserved name (see the "Reserved Val Names" section here).
  2. Make this val public. Add the following metadata to the top of this val's code:
// @vtIdeas 
// @title <insert a nice title>
  1. Rename this val, using a non-reserved name (see the "Reserved Val Names" section on the aggregator homepage)
1
2
3
4
5
6
7
8
9
import { ideaList } from "https://esm.town/v/nbbaier/ideaList";
import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";
import { html } from "https://esm.town/v/stevekrouse/html?v=5";
export async function examplePost(req: Request) {
const { author, name } = extractValInfo(import.meta.url);
return html(await ideaList(author, name));
}
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
December 9, 2023