Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between the npm modules jsonwebtoken and jwt-simple?

One example suggested using 'jsonwebtoken' and another suggested 'jwt-simple'... what are the differences?

like image 347
Grateful Avatar asked Oct 03 '16 03:10

Grateful


2 Answers

jwt-simple is smaller than jsonwebtoken, just encode and decode.

like image 63
uruapanmexicansong Avatar answered Sep 29 '22 09:09

uruapanmexicansong


I don't know the technical difference but for anything security related, I would go with the more active, more popular choice, and looking at the github statistics that choice seems to be jsonwebtoken.

like image 24
muratgu Avatar answered Sep 29 '22 10:09

muratgu