@authdog/easyjwt

    0.1.22 • Public • Published

    easyjwt

    npm version code style: prettier bundle size

    easyjwt is a nodejs library aiming to create and validate JSON Web Tokens without hussle or prerequisitie cryptography knowledge.

    Install

    yarn add @authdog/easyjwt

    Usage

    Creating a token:

    Verifying a token:

    Roadmap Features

    • [x] Basic readme validation info
    • [x] Helpers to check issuer and audiences of a given token
    • [x] Sign/Verify HS256 token
    • [x] Sign/Verify RS256 token
    • [x] Sign/Verify RS384 token
    • [x] Sign/Verify RS512 token
    • [x] Sign/Verify PS256 token
    • [x] Sign/Verify PS384 token
    • [x] Sign/Verify PS512 token

    Roadmap Documentation

    • [x] Documentation End user Introduction
    • [x] Documentation End user JWT
    • [x] Translation foundations

    Next features

    • [ ] Sign/Verify HS384 token
    • [ ] Sign/Verify ES256 token
    • [ ] Sign/Verify ES384 token
    • [ ] Sign/Verify ES512 token
    • [ ] Sign/Verify EdDSA token
    • [ ] Sign/Verify ES256K token

    Roadmap Security

    • [ ] Rate limiting

    Dependencies

    • jsonwebtoken
    • node-jose
    • node-fetch

    Issue Reporting

    If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

    Author

    Authdog Inc.

    License

    This project is licensed under the MIT license. See the LICENSE file for more info.

    Install

    npm i @authdog/easyjwt

    DownloadsWeekly Downloads

    1

    Version

    0.1.22

    License

    MIT

    Unpacked Size

    116 kB

    Total Files

    71

    Last publish

    Collaborators

    • dbrrt