authrix
Version:
Lightweight, flexible authentication library for Node.js and TypeScript.
1 lines • 143 B
JavaScript
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};