Skip to main content
Deno 2 is finally here 🎉️
Learn more

proxy_addr

GitHub release (latest by date)

Deno port of proxy-addr library.

Usage

import { serve } from 'https://deno.land/std@0.88.0/http/server.ts'
import { proxyaddr } from 'https://deno.land/x/proxy_addr/mod.ts'

const s = await serve({ port: 3000 })

for await (const req of s) console.log(proxyaddr(s))