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

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

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
variable sign
import { sign } from "https://deno.land/x/hono@v3.10.4/utils/jwt/jwt.ts";

type

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