Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.8.1/utils/jwt/jwt.ts";

type

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