1.0.1 • Published 3 years ago
nitra-jwt v1.0.1
jwt
Create token
add .env.test.local
import { create } from '@nitra/jwt'
create(claims)
// for production required environment PRIVATE_KEY
Verify
import { verify } from '@nitra/jwt'
verify(toke)
// for production will be used prod PUBLIC KEY
1.0.1
3 years ago