auth0 / node-jsonwebtoken

JsonWebToken implementation for node.js http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html
MIT License
17.7k stars 1.23k forks source link

add typescript definitions #843

Open its-dibo opened 2 years ago

sourcec0de commented 2 years ago

Ran into this myself. Until native supported is added I'm using this.

npm i @types/jsonwebtoken
BasilaryGroup commented 1 year ago

There is a very simple work around, use https://github.com/panva/jose

It look less than 2 minutes to install and modify my code.