Skip to content

issues Search Results · repo:worker-tools/html language:TypeScript

Filter by

5 results
 (67 ms)

5 results

inworker-tools/html (press backspace or delete to remove)

It seems like there s no way to evaluate a logical expression inside a template and output HTML based on its results (e.g. if-else), other than through creating a separate function, or there s no example ...
  • rdtmaster
  • Opened 
    on Apr 22, 2023
  • #7

Hey there. Playing around, and I m wondering if we can do some Suspense-like behavior? Like, to put loading... somehow while the async stuff is done. function render(req, context) { return new HTMLResponse( ...
  • tunnckoCore
  • 1
  • Opened 
    on Nov 8, 2022
  • #6

Hello, thanks for this library! I m enjoying using it to make a little worker. I noticed that falsy values become a space instead of an empty string. This can produce unexpected results when using variables ...
  • guregu
  • 3
  • Opened 
    on May 23, 2022
  • #4

When I run this example with deno run html_example.ts: import { html } from https://cdn.skypack.dev/@worker-tools/html@1.3.3?dts ; const str = 1 2 ; console.log(html` p ${str} /p `); I get this error ...
  • solson
  • 3
  • Opened 
    on May 29, 2021
  • #2

How can I integrate this to an existing worker? That is, I m already able to fetch and return a complete HTML document. But I d like to use HTMLRewriter to append some HTML to the document. I can t quite ...
  • ZebraFlesh
  • 2
  • Opened 
    on May 6, 2021
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub