# libp2p-interfaces

> Interfaces for JS Libp2p

Latest version **4.0.6** (published 2022-01-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install libp2p-interfaces
pnpm add libp2p-interfaces
yarn add libp2p-interfaces
bun add libp2p-interfaces
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.6 |
| Published | 2022-01-15 |
| First published | 2019-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 (+11 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | jacobheun, achingbrain, vascosantos |
| Keywords | libp2p, interface |

## Links

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

## Dependencies (13)

- [debug](https://npm.io/package/debug.md) ^4.3.1
- [it-pipe](https://npm.io/package/it-pipe.md) ^1.1.0
- [p-queue](https://npm.io/package/p-queue.md) ^6.6.2
- [peer-id](https://npm.io/package/peer-id.md) ^0.16.0
- [err-code](https://npm.io/package/err-code.md) ^3.0.1
- [multiaddr](https://npm.io/package/multiaddr.md) ^10.0.0
- [protobufjs](https://npm.io/package/protobufjs.md) ^6.10.2
- [it-pushable](https://npm.io/package/it-pushable.md) ^1.4.2
- [uint8arrays](https://npm.io/package/uint8arrays.md) ^3.0.0
- [multiformats](https://npm.io/package/multiformats.md) ^9.1.2
- [libp2p-crypto](https://npm.io/package/libp2p-crypto.md) ^0.21.0
- [abortable-iterator](https://npm.io/package/abortable-iterator.md) ^3.0.0
- [it-length-prefixed](https://npm.io/package/it-length-prefixed.md) ^5.0.2

## Recent versions

- 4.0.6 (latest) — 2022-01-15
- 0.5.1 (beta) — 2020-08-25
- 2.0.9 — 2022-01-15
- 5.0.3 — 2022-01-15
- 2.0.8 — 2022-01-13
- 4.0.5 — 2022-01-13
- 5.0.2 — 2022-01-13
- 5.0.1 — 2022-01-08
- 5.0.0 — 2022-01-08
- 4.0.4 — 2022-01-08
- 2.0.7 — 2022-01-06
- 3.1.1 — 2022-01-02
- 4.0.3 — 2022-01-02
- 3.1.0 — 2022-01-02
- 2.0.6 — 2022-01-02
- … 60 more at https://npm.io/package/libp2p-interfaces/versions

## README

# JS libp2p Interfaces

> Contains interfaces you can use to implement the various components of libp2p.

## Interfaces

- [Connection](./src/connection)
- [Content Routing](./src/content-routing)
- [Crypto](./src/crypto)
- [Peer Discovery](./src/peer-discovery)
- [Peer Routing](./src/peer-routing)
- [Pubsub](./src/pubsub)
- [Record](./src/record)
- [Stream Muxer](./src/stream-muxer)
- [Topology](./src/topology)
- [Transport](./src/transport)

### Origin Repositories

For posterity, here are links to the original repositories for each of the interfaces (if they had one).

- [Connection](https://github.com/libp2p/interface-connection)
- [Content Routing](https://github.com/libp2p/interface-content-routing)
- [Peer Discovery](https://github.com/libp2p/interface-peer-discovery)
- [Peer Routing](https://github.com/libp2p/interface-peer-routing)
- [Pubsub](https://github.com/libp2p/js-libp2p-pubsub)
- [Stream Muxer](https://github.com/libp2p/interface-stream-muxer)
- [Transport](https://github.com/libp2p/interface-transport)

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