Closed ralyodio closed 2 years ago
Did you try it? I don't think it works in Nodejs but std/node/crypto has bindings for it. It should work in the browser tho. I haven't tried it yet.
I just tested djwt
in the browser. It is already compatible and works without any problems. Just use deno bundle
to create a JavaScript file and you can create and verify JWTs there. I personally will not create a nodejs wrapper but I would probably accept a PR. I hope this answers your question.
Anyway to get this to work with nodejs or browser?