Skip to content

Commit

Permalink
docs(readme): Add an instruction for Node.js (#88)
Browse files Browse the repository at this point in the history
With the `@hono/node-server`, Reproxy can work as expected.
  • Loading branch information
5ouma authored Oct 13, 2024
1 parent b0b84ca commit 44c43a8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,24 @@ tags. To do this, simply add the ref name to the sub-directory. (i.e.
bun run index.ts
```
- [🐢 Node.js](https://nodejs.org)
1. Add this code to the `index.js`
```js
import { serve } from "@hono/node-server";
import app from "@5ouma/reproxy";
serve(app);
```
2. Run these commands
```sh
npm install @hono/node-server
npx jsr add @5ouma/reproxy
node run index.js
```
<br />
### 🦕 Use [Deno Deploy](https://deno.com/deploy)
Expand Down

0 comments on commit 44c43a8

Please sign in to comment.