in Request/Response https://github.com/awsdocs/aws-lambda-developer-guide/blob/main/sample-apps/nodejs-apig/event.json https://developer.mozilla.org/en-US/docs/Web/API/Request/Request
adapter is sufficient. • `hono/aws-lambda` ◦ Input Event→Request Obj→Response Obj→Response • Lambda Web Adaptor ◦ Input Event→HTTP Request→Request Obj→ Response Obj→Response ◦ Either way, an adapter for Node.js is needed. Using Lambda Web Adapter • For container operations and considering other frameworks.
with the decorator `awslambda.streamifyResponse` embedded in Lambda's Node.js runtime. • Requires `NodeJS.WritableStream` for compatibility with Node.js 16 (!). ◦ Hono requires Node.js 18 or higher. It uses WritableStream. • No comprehensive documentation available (?!).
The Cloudflare Meet-up was exciting, and I wanted to join the fun. Q2. Why not use Cloudflare Workers? Q3. Is it used in production? https://cfm-cts.connpass.com/
The Cloudflare Meet-up was exciting, and I wanted to join the fun. Q2. Why not use Cloudflare Workers? A2. I'm known as the "AWS person" in my company, so I thought it would be fun to integrate Hono with Lambda@Edge. Q3. Is it used in production? https://cfm-cts.connpass.com/
The Cloudflare Meet-up was exciting, and I wanted to join the fun. Q2. Why not use Cloudflare Workers? A2. I'm known as the "AWS person" in my company, so I thought it would be fun to integrate Hono with Lambda@Edge. Q3. Is it used in production? A3. I implemented it, but due to its simplicity and execution cost, we opted for CloudFront Functions. https://cfm-cts.connpass.com/
for CloudFront Functions at this time. • The size limit is 10KB. • Runtime environment is ES5.1 + custom extensions. • Execution time, including idle CPU time, is limited to 1 second.
… ◦ Cloudflare Pages, GitHub Pages, or S3 ◦ Hono has built-in JSX and CSS. • Strange features suddenly created during the New Year's holidays. https://x.com/yusukebe/status/1742850872651206724
the Hono instance • Remove middleware • Remove routes with methods other than ”GET” and ”ALL” • Use the ”app.fetch” and ”app.request” APIs to retrieve response data directed at localhost.
"fs" passed to toSSG for writing. • Hono is a multi-platform framework. • Custom “fs” implementations for Deno and Bun are also provided. https://hono.dev/docs/helpers/ssg
support, it has significantly improved. • Pipeline from route loading to writing • Support for Vite Plugin • Custom Hooks • Middleware like "generateStaticPaths" https://hono.dev/docs/helpers/ssg
• However, I believe that these features should benefit users beyond just AWS. • Developing such versatile features is challenging, but there's nothing more enjoyable.