Gathering detailed insights and metrics for @sd-jwt/present
Gathering detailed insights and metrics for @sd-jwt/present
Gathering detailed insights and metrics for @sd-jwt/present
Gathering detailed insights and metrics for @sd-jwt/present
A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.
npm install @sd-jwt/present
89
Supply Chain
79.5
Quality
96.7
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
44 Stars
194 Commits
13 Forks
3 Watching
1 Branches
13 Contributors
Updated on 26 Nov 2024
TypeScript (99.85%)
JavaScript (0.15%)
Cumulative downloads
Total Downloads
Last day
82.1%
2,870
Compared to previous day
Last week
51.6%
12,331
Compared to previous week
Last month
34.4%
38,958
Compared to previous month
Last year
0%
223,780
Compared to previous year
3
1
This is the reference implmentation of IETF SD-JWT specification written in TypeScript. It aims to provide a production-ready, robust and secure way to handle JWTs with selective disclosure capabilities.
Hopae, a founding member of OpenWallet Foundation, is building wallet module in TypeScript and need this project as a core component.
Currently compliant with:
"Selective Disclosure for JWT" offers a cutting-edge approach to handling JSON Web Tokens (JWT) in a way that enhances user privacy and data security. In today's digital landscape, the demand for efficient yet secure data transmission is paramount. This project addresses that need by enabling selective disclosure of JWT claims, ensuring that only necessary information is shared.
Crucially, the solution is designed to be framework-agnostic, making it compatible with a wide array of JavaScript frameworks, including React and React Native. This broad compatibility ensures that the implementation can be seamlessly integrated into various applications, irrespective of the underlying framework.
Another key aspect of this project is its capability to encode JWTs into QR codes. This feature is particularly useful for mobile and decentralized applications where ease of data transmission is essential. However, the complexity of JWTs can lead to large QR codes that are difficult to scan. Addressing this challenge, "Selective Disclosure for JWT" is specifically optimized to reduce the overall size of the JWT, ensuring that the resulting QR codes are practical and easily scannable.
The design of "Selective Disclosure for JWT" is centered around flexibility, efficiency, and security. Here are the key design concepts:
By adhering to these design principles, "Selective Disclosure for JWT" aims to set a new standard in the secure and efficient handling of JWTs across diverse JavaScript environments.
You can use our online debugger built with our library here: https://sdjwt.co
We keep all the versions of our packages in sync.
It means for example, that if you are using @sd-jwt/core@1.0.0
, you should use @sd-jwt/decode@1.0.0
, @sd-jwt/present@1.0.0
and so on.
To build this projects
1pnpm install 2 3pnpm run build
To run the test suite, execute:
1pnpm test
We use Vitest for our testing framework. Ensure you have written tests for all new features.
We also use CodeCov for our testing coverage. You can check the details of coverage of each package
Contributions are welcome! Please read our contributing guidelines before making pull requests.
This project is licensed under the Apache 2.0 License
For support or contributions, You can find us in OpenWallet Foundation discord.
Special thanks to all the contributors and the OpenWallet Foundation community for their invaluable input.
No vulnerabilities found.
No security vulnerabilities found.