UNPKG

authrix

Version:

Lightweight, flexible authentication library for Node.js and TypeScript.

1 lines 143 B
import {a}from'./chunk-ZNCUQ2DE.mjs';import*as r from'jsonwebtoken';function o(e){return r.sign(e,a.jwtSecret,{expiresIn:"7d"})}export{o as a};