Last active
September 7, 2021 01:17
-
-
Save MeetMartin/72d609b66ea90039da82366d707e254a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jwt from 'jsonwebtoken'; | |
const data = { some: 'json' }; | |
const key = 'MuchSecretVerySecureSoSafe'; | |
jwt.sign(data, key); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment