Skip to Content
Senri
API reference

/ip

@senrijs/senri/ip: The client IP

The client IP.

import { ... } from "@senrijs/senri/ip";

Functions and classes

NameWhat it does
getIp(c)The client IP that the runtime passes
trustProxy(options)Creates a function that returns the client IP behind a proxy

Types

TrustProxyOptions

Prop

Type

Source: src/ip.ts

On this page