# @owf/identity-common

> [![npm version](https://img.shields.io/npm/v/@owf/identity-common)](https://npmjs.com/package/@owf/identity-common) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/openwallet-foundation-labs/identity-common-ts/b

Latest version **0.4.0** (published 2026-09-16) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @owf/identity-common
pnpm add @owf/identity-common
yarn add @owf/identity-common
bun add @owf/identity-common
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2026-09-16 |
| First published | 2026-03-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 80.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 6 |
| Maintainers | timoglastra, openwalletfoundation, mirkom |

## Links

- npm: https://www.npmjs.com/package/@owf/identity-common
- Repository: https://github.com/openwallet-foundation-labs/identity-common-ts
- Homepage: https://github.com/openwallet-foundation-labs/identity-common-ts/tree/main/packages/identity-common
- Issues: https://github.com/openwallet-foundation-labs/identity-common-ts/issues
- npm.io page: https://npm.io/package/@owf/identity-common

## Recent versions

- 0.4.0 (latest) — 2026-09-16
- 0.4.1-alpha-20260922110620 (alpha) — 2026-09-22
- 0.4.1-alpha-20260921121727 — 2026-09-21
- 0.4.1-alpha-20260920163617 — 2026-09-20
- 0.4.1-alpha-20260920143658 — 2026-09-20
- 0.4.1-alpha-20260920133054 — 2026-09-20
- 0.4.1-alpha-20260919211014 — 2026-09-19
- 0.4.1-alpha-20260919112629 — 2026-09-19
- 0.4.1-alpha-20260919100859 — 2026-09-19
- 0.4.1-alpha-20260919094428 — 2026-09-19
- 0.4.1-alpha-20260918081040 — 2026-09-18
- 0.4.1-alpha-20260918080827 — 2026-09-18
- 0.4.1-alpha-20260917172451 — 2026-09-17
- 0.4.1-alpha-20260917125442 — 2026-09-17
- 0.4.1-alpha-20260917111104 — 2026-09-17
- … 143 more at https://npm.io/package/@owf/identity-common/versions

## README

# @owf/identity-common

[![npm version](https://img.shields.io/npm/v/@owf/identity-common)](https://npmjs.com/package/@owf/identity-common)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/openwallet-foundation-labs/identity-common-ts/blob/main/LICENSE)

The base package of the [Identity Common TypeScript](https://github.com/openwallet-foundation-labs/identity-common-ts) project, providing common types and utilities for identity applications.

## Installation

```bash
# Using npm
npm install @owf/identity-common

# Using pnpm
pnpm add @owf/identity-common

# Using yarn
yarn add @owf/identity-common
```

## Usage

```typescript
import { } from '@owf/identity-common'
```

## Platform Support

This library is **platform agnostic** and works in:

- ✅ Node.js (>=20)
- ✅ Browsers (modern browsers with ES2020 support)
- ✅ React Native

### Requirements

Your environment must provide:

- `URL` and `URLSearchParams` implementations
- A global `fetch` implementation (or provide it via callbacks)
- Global `TextEncoder` and `TextDecoder` implementations

### React Native

When using these libraries in React Native you may need to add a polyfill for `TextDecoder`.

You can confirm this by checking if `global.TextDecoder` is available. It should be available for React Native > 0.85 or Expo SDK > 52.

If it is not available, make sure to add a polyfill like [this one](https://github.com/EvanBacon/text-decoder).

## API Reference

*Documentation will be added as the API is developed.*

## Related Packages

This package is part of the Identity Common TypeScript project:

- `@owf/jose` - JOSE/JWT implementation (planned)
- [`@owf/cose`](https://github.com/openwallet-foundation-labs/identity-common-ts/tree/main/packages/cose) - COSE/CWT implementation (planned)
- `@owf/x509` - X.509 certificate utilities (planned)

## Contributing

See the [Contributing Guide](https://github.com/openwallet-foundation-labs/identity-common-ts/blob/main/CONTRIBUTING.md) for details on how to contribute to this project.

## License

This project is licensed under the [Apache License Version 2.0](https://github.com/openwallet-foundation-labs/identity-common-ts/blob/main/LICENSE) (Apache-2.0).

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