PackageTrack
Sign in Get early access

jwt_decoder

This small library helps you to decode Json Web Tokens, you can also know if a JWT is already expired.

2.0.1 589K downloads/mo #469 most downloaded on pub.dev gustavo0197/dart-jwt-decoder

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 5 months

Most releases are documented

notes for 5 of 7 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

7 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · May 2020 to Mar 2021
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 2.0.1 26 Mar 2021

    Nothing published for this version

  2. 2.0.0 06 Mar 2021
    Release notes
    • Updated SDK dependency version to 2.12.0+
    • Avoid all null returns and replaced them with FormatException throws when tokens are not valid. This is a breaking change as users expecting null returns will now get an exception instead.
    • Added JwtDecoder methods documentation.
    • Replaced flutter framework dependencies to Dart only dependency.
    Open source →
  3. 1.0.4 26 Jan 2021
    Release notes
    • isExpired() and getExpirationDate() the expiration time is converted to int
    Open source →
  4. 1.0.3 20 Oct 2020
    Release notes
    • getExpirationDate() returns the expiration date of the token
    • getTokenTime() you can use this method to know how old your token is
    Open source →
  5. 1.0.2 03 Oct 2020

    Nothing published for this version

  6. 1.0.1 04 May 2020
    Release notes
    • An example file was added
    Open source →
  7. 1.0.0 04 May 2020
    Release notes
    • decode method will decode your token's payload and return a Map<String, dynamic>
    • isExpired method is used to know if a token is already expired or not
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive