angular-jwt
Helper library for handling JWTs in Angular 2+ apps
... and higher because it relies on an HttpInterceptor from Angular's HttpClient. This feature is not available on lower versions. If you are only interested in the JWT Decoder and are not interested in extended injectable features, you can simply create an instance of the utility and use it directly. Any requests sent using Angular's HttpClient will automatically have a token attached as an Authorization header.