# @zcloak/did-resolver

> zCloak did-resolver package

Latest version **2.0.0** (published 2023-09-05) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @zcloak/did-resolver
pnpm add @zcloak/did-resolver
yarn add @zcloak/did-resolver
bun add @zcloak/did-resolver
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-09-05 |
| First published | 2022-10-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 26 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | zCloak |
| Maintainers | whgreate, xiao_zcloak, han3321 |

## Links

- npm: https://www.npmjs.com/package/@zcloak/did-resolver
- Repository: https://github.com/zCloak-Network/zkid-sdk
- Homepage: https://github.com/zCloak-Network/zkid-sdk/tree/master/protocol/did-resolver#readme
- Issues: https://github.com/zCloak-Network/zkid-sdk/issues
- npm.io page: https://npm.io/package/@zcloak/did-resolver

## Dependencies (1)

- [cross-fetch](https://npm.io/package/cross-fetch.md) ^3.1.5

## Recent versions

- 2.0.0 (latest) — 2023-09-05
- 1.0.0-beta.1 (beta) — 2023-02-14
- 1.1.3 — 2023-05-12
- 1.1.2 — 2023-04-13
- 1.1.1 — 2023-04-13
- 1.1.0 — 2023-02-27
- 1.0.0 — 2023-02-17
- 1.0.0-beta.0 — 2023-02-09
- 0.8.0 — 2023-02-06
- 0.7.3-1 — 2023-01-19
- 0.7.3-0 — 2023-01-19
- 0.7.2 — 2023-01-18
- 0.7.1 — 2023-01-17
- 0.7.1-0 — 2023-01-17
- 0.7.0 — 2022-12-21
- … 29 more at https://npm.io/package/@zcloak/did-resolver/versions

## README

# @zcloak/did-resolver

The repo define `DidDocument` and `DidResolver`

Resolve the DID synctax liked string and then fetching the DID Document from the registry, the registry might be a centralized database or a blockchain.

Each resolver should extend the class `DIDResolver` and implement the resolve method that accepts a DID and returns the `DidDocument`.


## Usage

Installation -

```
yarn add @zcloak/did-resolver
```

Functions can be imported as follows:

```js
import { ArweaveDidResolver } from '@zcloak/did-resolver';
```

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