Back to packages list
Vals using hono
Description from the NPM package:
Web framework built on Web Standards
sunbeamValTownFn
@pomdtr
HTTP (deprecated)
Sunbeam integration for Val Town Installation First, install sunbeam . Then create a new val referencing this val. const sunbeamValtown = @pomdtr.sunbeamValTownFn(@me.secrets.valtown) then switch it's visibility to unlisted. You can then install your val in sunbeam # install the extension
sunbeam extension install --alias valtown val:<username>/sunbeamValtown Usage sunbeam valtown # list your vals
sunbeam valtown --help # list available commands Demo
pdfExample
@tmcw
HTTP (deprecated)
Generate a pdf with pdf-lib 👉 Visit the web site generated by this Val pdf-lib is an incredible pure-JavaScript module that generates PDFs! In this example, it's generating a simple page that embeds the PDF, and exposes another route (with Hono ) that serves the PDF.