@sd-jwt/core
Version:
sd-jwt draft 7 implementation in typescript
44 lines (28 loc) • 1.19 kB
Markdown




# SD-JWT Implementation in JavaScript (TypeScript)
## SD-JWT Core
### About
Core library for selective disclosure JWTs
Check the detail description in our github [repo](https://github.com/openwallet-foundation-labs/sd-jwt-js).
### Installation
To install this project, run the following command:
```bash
# using npm
npm install @sd-jwt/core
# using yarn
yarn add @sd-jwt/core
# using pnpm
pnpm install @sd-jwt/core
```
Ensure you have Node.js installed as a prerequisite.
### Usage
The library can be used to create sd-jwt based credentials. To be compliant with the `sd-jwt-vc` standard, you can use the `@sd-jwt/sd-jwt-vc` that is implementing this spec.
If you want to use the pure sd-jwt class or implement your own sd-jwt credential approach, you can use this library.
### Dependencies
- @sd-jwt/decode
- @sd-jwt/present
- @sd-jwt/types
- @sd-jwt/utils