Token in Node-Red

how to translate jwt in red node
pleace help me

I had done this a while ago. I included the following package in my settings.js to make it available in my function nodes. Don't forget to install it via npm.

    functionGlobalContext: {
        jwt: require('jsonwebtoken')

You can then reference it with something like const jwt = global.get('jwt'); in your function node.

Do any of these help: