# @sphereon/ssi-types

> SSI Common Types

Latest version **0.40.1** (published 2026-07-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @sphereon/ssi-types
pnpm add @sphereon/ssi-types
yarn add @sphereon/ssi-types
bun add @sphereon/ssi-types
```

## Health

**Score 55/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.40.1 |
| Published | 2026-07-03 |
| First published | 2022-09-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 664.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 75 |
| Author | Sphereon <dev@sphereon.com> |
| Maintainers | nklomp78, nklomp, spostma, bramtencate |
| Keywords | SSI, Common Credential Types, Credential Mapping, Verifiable Credentials, DIDs |

## Links

- npm: https://www.npmjs.com/package/@sphereon/ssi-types
- Repository: git@github.com:Sphereon-OpenSource/ssi-sdk.git
- npm.io page: https://npm.io/package/@sphereon/ssi-types

## Dependencies (9)

- [dcql](https://npm.io/package/dcql.md) 1.0.1
- [debug](https://npm.io/package/debug.md) ^4.3.5
- [events](https://npm.io/package/events.md) ^3.3.0
- [jwt-decode](https://npm.io/package/jwt-decode.md) ^4.0.0
- [uint8arrays](https://npm.io/package/uint8arrays.md) ^3.1.1
- [@noble/hashes](https://npm.io/package/@noble/hashes.md) 1.6.1
- [@sd-jwt/types](https://npm.io/package/@sd-jwt/types.md) ^0.15.0
- [@sd-jwt/decode](https://npm.io/package/@sd-jwt/decode.md) ^0.15.0
- [@sphereon/kmp-mdoc-core](https://npm.io/package/@sphereon/kmp-mdoc-core.md) 0.2.0-SNAPSHOT.26

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.40.1 (latest) — 2026-07-03
- 0.40.1-next.2 (next) — 2026-07-02
- 0.37.2-feature.oid4vc.1.0.45 (unstable) — 2026-06-04
- 0.37.2-fix.33 (fix) — 2026-05-04
- 0.40.0 — 2026-06-05
- 0.39.0 — 2026-06-05
- 0.38.1-next.3 — 2026-06-05
- 0.38.0 — 2026-06-04
- 0.37.2-next.46 — 2026-06-04
- 0.37.2-next.34 — 2026-05-05
- 0.37.2-next.28 — 2026-05-04
- 0.37.2-fix.25 — 2026-04-23
- 0.37.2-fix.27 — 2026-04-22
- 0.37.2-fix.26 — 2026-04-22
- 0.37.2-fix.24 — 2026-04-22
- … 1684 more at https://npm.io/package/@sphereon/ssi-types/versions

## README

<!--suppress HtmlDeprecatedAttribute -->
<h1 align="center">
  <br>
  <a href="https://www.sphereon.com"><img src="https://sphereon.com/content/themes/sphereon/assets/img/logo.svg" alt="Sphereon" width="400"></a>
  <br>SSI Common Types (Typescript) 
  <br>
</h1>

---

**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**

---

# ssi-types

Common SSI types

### Installation

```shell
yarn add @sphereon/ssi-types
```

### Build

```shell
yarn build
```

### Test

The test command runs:

- `prettier`
- `jest`
- `coverage`

You can also run only a single section of these tests, using for example `yarn test:unit`.

```shell
yarn test
```

### Utility scripts

There are other utility scripts that help with development.

- `yarn fix` - runs `eslint --fix` as well as `prettier` to fix code style.

---
_Source: https://npm.io/package/@sphereon/ssi-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
