Back

Version 21

4/17/2024
/** @jsxImportSource npm:hono/jsx */

import codeOnValTown from "https://esm.town/v/andreterron/codeOnValTown?v=50";
import { Invoice } from "https://esm.town/v/pomdtr/invoice_types";
import { Hono } from "npm:hono";

const example_invoice: Invoice = {
title: "Invoice #1",
author: [
"Pomdtr",
],
client: [
"Val Town",
],
table: {
columns: [
"Item",
"Price",
],
rows: [
["Built an JSON Invoice library", "10 000$"],
],
summary: [
["VAT", "0%"],
["Total", "10 000$"],
],
},
};

const app = new Hono();

app.get("/", c => {
return c.html(
<html>
<head>
<meta charset="UTF-8" />
pomdtr-jsoninvoice.web.val.run
Updated: May 6, 2024