Module

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

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

type

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