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.12.8/utils/jwt/jwt.ts";

type

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