# @libp2p/interface-dht

> DHT interface for libp2p

Latest version **2.0.3** (published 2023-05-04) · Apache-2.0 OR MIT license · 0 weekly downloads

## Install

```sh
npm install @libp2p/interface-dht
pnpm add @libp2p/interface-dht
yarn add @libp2p/interface-dht
bun add @libp2p/interface-dht
```

## 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.3 |
| Published | 2023-05-04 |
| First published | 2022-06-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 OR MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=16.0.0 |
| Dependencies | 5 |
| Unpacked size | 23.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 74 |
| Maintainers | jacobheun, npm-service-account-libp2p, alanshaw, vascosantos, achingbrain, daviddias |
| Keywords | interface, libp2p |

## Links

- npm: https://www.npmjs.com/package/@libp2p/interface-dht
- Repository: https://github.com/libp2p/js-libp2p-interfaces
- Homepage: https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-dht#readme
- Issues: https://github.com/libp2p/js-libp2p-interfaces/issues
- npm.io page: https://npm.io/package/@libp2p/interface-dht

## Dependencies (5)

- [multiformats](https://npm.io/package/multiformats.md) ^11.0.0
- [@libp2p/interfaces](https://npm.io/package/@libp2p/interfaces.md) ^3.0.0
- [@libp2p/interface-peer-id](https://npm.io/package/@libp2p/interface-peer-id.md) ^2.0.0
- [@libp2p/interface-peer-info](https://npm.io/package/@libp2p/interface-peer-info.md) ^1.0.0
- [@libp2p/interface-peer-discovery](https://npm.io/package/@libp2p/interface-peer-discovery.md) ^2.0.0

## Recent versions

- 2.0.3 (latest) — 2023-05-04
- 2.0.3-d853d124 (next) — 2023-06-19
- 2.0.3-ea8a0637 — 2023-06-19
- 2.0.3-ab0e3980 — 2023-06-19
- 2.0.3-3dfc236e — 2023-06-16
- 2.0.3-8c6b6d24 — 2023-06-15
- 2.0.3-d2f1eff4 — 2023-06-15
- 2.0.3-5a9fb4d6 — 2023-06-15
- 2.0.3-883082ca — 2023-06-15
- 2.0.3-1c6702c8 — 2023-06-15
- 2.0.2 — 2023-05-04
- 2.0.1 — 2023-01-18
- 2.0.0 — 2023-01-06
- 1.0.5 — 2022-12-16
- 1.0.4 — 2022-12-14
- … 5 more at https://npm.io/package/@libp2p/interface-dht/versions

## README

# @libp2p/interface-dht <!-- omit in toc -->

[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces)
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p-interfaces/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)

> DHT interface for libp2p

## Table of contents <!-- omit in toc -->

- [Install](#install)
- [API Docs](#api-docs)
- [License](#license)
- [Contribution](#contribution)

## Install

```console
$ npm i @libp2p/interface-dht
```

## API Docs

- <https://libp2p.github.io/js-libp2p-interfaces/modules/_libp2p_interface_dht.html>

## License

Licensed under either of

- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)

## Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

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