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

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

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

type

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