• madmod avatar
    mathFact
    @madmod
    An interactive, runnable TypeScript val by madmod
    Script
  • stevekrouse avatar
    esmTownTranspileDemo
    @stevekrouse
    Val Town's esm.town Transpiles TypeScript and JSX for browsers When Val Town's code registry (esm.town) gets a request from a browser (which it can detect via the User Agent header), it transpiles that val's code to web-standard JavaScript be able to run in the browser. It doesn't do as much as other transpilers (such as esm.sh, such as rewriting npm: imports, etc). We may add that capability in the future. For now, if you want your npm imports to run in the browser, use https://esm.sh/package instead of npm:package . The below script demonstrates this transiplation behavior by fetching its own source code ( import.meta.url ) with the user agent of a browser. You can uncoment the line setting the browser agent if you want to see the difference in the output. Or you could just load this val's module URL in your browser to see the untranspiled TS. As of July 23, 2024, this is the code that determines when esm.town transpiles or not:
    Script
  • stevekrouse avatar
    valTownBlogRSS
    @stevekrouse
    An interactive, runnable TypeScript val by stevekrouse
    Script
  • nbbaier avatar
    kysely_valgen_POC
    @nbbaier
    An interactive, runnable TypeScript val by nbbaier
    Script
  • andrewn avatar
    dailyMathFact
    @andrewn
    An interactive, runnable TypeScript val by andrewn
    Script
  • stevekrouse avatar
    untitled_ivoryFlea
    @stevekrouse
    An interactive, runnable TypeScript val by stevekrouse
    Script
  • stevekrouse avatar
    insecureSSLCertExample
    @stevekrouse
    This is an example call of @stevekrouse/insecureFetch
    Script
  • stevekrouse avatar
    fetchHTML
    @stevekrouse
    // this function doesn't work yet, I'm still iterating on it
    Script
  • lukas avatar
    feedGenerator
    @lukas
    // All of this is heavily based on RobPC's feed generator sample
    Script
  • elsif_maj avatar
    nameTopHNThread
    @elsif_maj
    An interactive, runnable TypeScript val by elsif_maj
    Script
  • yawnxyz avatar
    valwriter
    @yawnxyz
    Forked from stevekrouse/valwriter
    HTTP (deprecated)
  • stevekrouse avatar
    zwjEmoji
    @stevekrouse
    An interactive, runnable TypeScript val by stevekrouse
    Script
  • baj avatar
    nyt
    @baj
    An interactive, runnable TypeScript val by baj
    Express
  • joseph_c100 avatar
    smallboatsapi
    @joseph_c100
    An API that fetches the html table of small boat arrivals data from the UK gov website. This data is from the last 7 days and updated daily.
    HTTP (deprecated)
  • jamiedubs avatar
    wikipediaToday
    @jamiedubs
    fetch the contents of the Wikipedia "On this day in history" page. defaults to JSON output, but specify ?format=text or ?format=html for other outputs. e.g. https://jamiedubs-wikipediatoday.web.val.run/?format=json https://jamiedubs-wikipediatoday.web.val.run/?format=text https://jamiedubs-wikipediatoday.web.val.run/?format=html #wikipedia
    HTTP (deprecated)
  • vyatka avatar
    WebSiteReact
    @vyatka
    Forked from jdan/latLngOfCity
    HTTP (deprecated)
November 8, 2023