Back to packages list

Vals using preact-render-to-string

Description from the NPM package:
Render JSX to an HTML string, with support for Preact components.
emilycoe avatar
ilyBday
@emilycoe
http
@jsxImportSource https://esm.sh/preact
jxnblk avatar
svg_favicon
@jxnblk
http
SVG favicon service, with support for custom text/letters and colors <img src="https://jxnblk-svg_favicon.web.val.run?text=Hi&color=000&bg=f0f" />
stevekrouse avatar
isthegtrainfucked
@stevekrouse
http
@jsxImportSource https://esm.sh/preact
jxnblk avatar
contrast_swatch
@jxnblk
http
@jsxImportSource https://esm.sh/preact
jxnblk avatar
svg_card
@jxnblk
script
@jsxImportSource https://esm.sh/preact
rayman avatar
HTMXQuill
@rayman
http
@jsxImportSource https://esm.sh/preact
stevekrouse avatar
exponentialBackoffMiddleware
@stevekrouse
script
Exponential backoff middleware If your server returns a 5xx error, it will wait 1, 2, 4, 8, 16, 32, 64, 128... seconds before retrying Usage import { exponentialBackoffMiddleware } from "https://esm.town/v/stevekrouse/exponentialBackoffMiddleware" export default exponentialBackoffMiddleware(() => { /* your normal http handler * / }) Example usage: https://www.val.town/v/stevekrouse/BIGweather?v=164#L114
pomdtr avatar
indie_auth
@pomdtr
script
@jsxImportSource npm:preact
pomdtr avatar
val_town_search
@pomdtr
http
Val Town Search Search for vals using the Github API. Either use the provided UI, or the query param: https://val-town-search.pomdtr.me/search?q=fetchJSON How does it work ? I've wrote about it! Todos [x] Embed the results in the UI [x] Refresh the vals on a cron using a github action [ ] Improve layout on small screens [ ] Support json Accept header [ ] Add pagination params [ ] Allow to filter by authors
maxm avatar
preactExample
@maxm
http
@jsxImportSource https://esm.sh/preact
luwes avatar
copperBarnacle
@luwes
http
@jsxImportSource https://esm.sh/preact
petermillspaugh avatar
sendTestEmailNewsletter
@petermillspaugh
interval
Val Town email subscriptions: send test email Cousin Val to @petermillspaugh/emailSubscription — see docs there. When you're writing up an email to send to subscribers, it's helpful to send it to yourself ahead of time to proofread and see how it looks in different email clients etc.
petermillspaugh avatar
sendEmailNewsletter
@petermillspaugh
interval
Val Town email subscriptions: send email newsletter Cousin Val to @petermillspaugh/emailSubscription — see docs there. This Val has a few layers of protection to avoid double sending. Those mechanisms feel pretty hacky, so any suggestions are welcome! Feel free to comment on the Val or submit a PR.
kajgod avatar
manage_users_inputs
@kajgod
script
@jsxImportSource https://esm.sh/preact
stevekrouse avatar
remark
@stevekrouse
script
@jsxImportSource https://esm.sh/preact