JSPM

jwt-check-expiration

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4650
  • Score
    100M100P100Q129397F
  • License MIT

Check to see if a token is expired using only the token itself without a secret key or validation

Package Exports

  • jwt-check-expiration

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jwt-check-expiration) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jwt-check-expiration

Determine if a JWT is expired in the client without requiring a secret, this is for client use only and not intended for secure validation of the JWT. Only as a convenience method to avoid a network call if the JWT has indicated that it has expired.