Rules for IP Restriction Middleware
optional
denyList: IPRestrictionRule[]
optional
allowList: IPRestrictionRule[]
Web framework built on Web Standards
Rules for IP Restriction Middleware
denyList: IPRestrictionRule[]
allowList: IPRestrictionRule[]
Add Package
deno add jsr:@hono/hono
Import symbol
import { type IPRestrictionRules } from "@hono/hono/ip-restriction";
Import directly with a jsr specifier
import { type IPRestrictionRules } from "jsr:@hono/hono/ip-restriction";
Add Package
pnpm i jsr:@hono/hono
pnpm dlx jsr add @hono/hono
Import symbol
import { type IPRestrictionRules } from "@hono/hono/ip-restriction";
Add Package
yarn add jsr:@hono/hono
yarn dlx jsr add @hono/hono
Import symbol
import { type IPRestrictionRules } from "@hono/hono/ip-restriction";
Add Package
npx jsr add @hono/hono
Import symbol
import { type IPRestrictionRules } from "@hono/hono/ip-restriction";
Add Package
bunx jsr add @hono/hono
Import symbol
import { type IPRestrictionRules } from "@hono/hono/ip-restriction";