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

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

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

type

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