Module

x/hono/utils/jwt/jwt.ts>sign

Lightweight, Ultrafast, Web Standards
Very Popular
Go to Latest
variable sign
import { sign } from "https://dotland.deno.dev/x/hono@v3.9.2/utils/jwt/jwt.ts";

type

(
payload: unknown,
secret: string,
alg?: AlgorithmTypeName,
) => Promise<string>