usage in node
See original GitHub issueHi there – big fan, really love working with hono, it makes building services such a fun experience.
I know hono is built with web standards in mind, so only things like edge runtimes/deno/bun work, but I have a new API that uses some dependencies that only work in node right now. Is it possible to run hono in node? I saw this gist, which uses the Response and Request from node-fetch
, but is this the recommended way to do so?
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Usage and example | Node.js v19.3.0 Documentation
An example of a web server written with Node.js which responds with 'Hello, World!' : Commands in this document start with $ or...
Read more >Why the Hell Would I Use Node.js? A Case-by-case Tutorial
Node.js is easily employed as a server-side proxy, where it can handle a large amount of simultaneous connections in a nonblocking manner. It's...
Read more >usage - npm
Simple interface to lookup cpu and memory usage of any accessible process on the system. Works on OSX, Linux, SmartOS and Solaris; Tested...
Read more >Why and When to Use Node.js in 2021 [Complete Guide]
Real-time applications. As we have found that Node.js can ensure great speed and performance, one of the textbook Node.js use cases is real-time ......
Read more >What Is Node.js and Why You Should Use It
Node.js is a single-threaded, open-source, cross-platform runtime environment for building fast and scalable server-side and networking ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @aulneau
It’s interesting to run the application built with Hono on Node.js. However, I do not know the better way to do it because I have only tried a few. I think
node-fetch
is not the best. Anyway, we have to do “polyfill”. Edge Runtime is an available option.I’ll try it when I have time too. I’ll let you know here if I find a better way.
Very much agree! My favorite things about hono are more around how you construct an API versus where it can be deployed. Making it compatible with node would increase access to more people ✨