mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-16 07:30:51 +00:00
docs(readme): add package listing
See https://github.com/ipfs/js-ipfs/pull/385 for details
This commit is contained in:
parent
815a85d51f
commit
93a0103fb8
88
README.md
88
README.md
@ -15,65 +15,30 @@ libp2p is the product of a long, and arduous quest of understanding -- a deep di
|
||||
|
||||
We will be writing a set of docs, posts, tutorials, and talks to explain what p2p is, why it is tremendously useful, and how it can help your existing and new projects.
|
||||
|
||||
# Contribute
|
||||
|
||||
libp2p implementation in JavaScript is a work in progress. As such, there's a few things you can do right now to help out:
|
||||
|
||||
- Go through the modules below and **check out existing issues**. This would be especially useful for modules in active development. Some knowledge of IPFS/libp2p may be required, as well as the infrasture behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
|
||||
- **Perform code reviews**. Most of this has been developed by @diasdavid, which means that more eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
|
||||
- **Add tests**. There can never be enough tests.
|
||||
|
||||
# Usage
|
||||
|
||||
`js-libp2p` repo will be a place holder for the list of JavaScript modules that compose js-libp2p, as well as its entry point
|
||||
|
||||
# Modules
|
||||
|
||||
- [libp2p](https://github.com/diasdavid/js-libp2p) (entry point)
|
||||
- **Swarm**
|
||||
- [libp2p-swarm](https://github.com/diasdavid/js-libp2p-swarm) [](https://github.com/ipfs/js-ipfs/issues/22)
|
||||
- [libp2p-identify](https://github.com/diasdavid/js-libp2p-swarm/tree/master/src/identify)
|
||||
- [libp2p-ping](https://github.com/diasdavid/js-libp2p-ping)
|
||||
- Transports
|
||||
- [abstract-transport](https://github.com/diasdavid/abstract-transport)
|
||||
- [abstract-connection](https://github.com/diasdavid/abstract-connection)
|
||||
- [libp2p-tcp](https://github.com/diasdavid/js-libp2p-tcp)
|
||||
- [libp2p-udp](https://github.com/diasdavid/js-libp2p-udp)
|
||||
- [libp2p-udt](https://github.com/diasdavid/js-libp2p-udt)
|
||||
- [libp2p-utp](https://github.com/diasdavid/js-libp2p-utp)
|
||||
- [libp2p-webrtc]()
|
||||
- [libp2p-cjdns]()
|
||||
- Stream Muxing [](LINK HERE)
|
||||
- [abstract-stream-muxer](https://github.com/diasdavid/abstract-stream-muxer)
|
||||
- [libp2p-spdy](https://github.com/diasdavid/js-libp2p-spdy)
|
||||
- [libp2p-multiplex]()
|
||||
- Crypto Channel
|
||||
- [libp2p-tls]()
|
||||
- [libp2p-secio]()
|
||||
- **Peer Routing**
|
||||
- [libp2p-kad-routing](https://github.com/diasdavid/js-libp2p-kad-routing) [](https://github.com/ipfs/js-ipfs/issues/18)
|
||||
- [libp2p-mDNS-routing]()
|
||||
- **Discovery**
|
||||
- [libp2p-mdns-discovery](https://github.com/diasdavid/js-libp2p-mdns-discovery)
|
||||
- [libp2p-random-walk](https://github.com/diasdavid/js-libp2p-random-walk) [](https://github.com/ipfs/js-ipfs/issues/20)
|
||||
- [libp2p-railing](https://github.com/diasdavid/js-libp2p-railing) [](https://github.com/ipfs/js-ipfs/issues/21)
|
||||
- **Distributed Record Store** [](https://github.com/ipfs/js-ipfs/issues/25)
|
||||
- [libp2p-record](https://github.com/diasdavid/js-libp2p-record)
|
||||
- [abstract-record-store](https://github.com/diasdavid/abstract-record-store)
|
||||
- [libp2p-distributed-record-store](https://github.com/diasdavid/js-libp2p-distributed-record-store)
|
||||
- [libp2p-kad-record-store](https://github.com/diasdavid/js-libp2p-kad-record-store)
|
||||
- **Generic**
|
||||
- [PeerInfo](https://github.com/diasdavid/js-peer-info)
|
||||
- [PeerId](https://github.com/diasdavid/js-peer-id)
|
||||
- [multihash](https://github.com/jbenet/js-multihash) [](https://github.com/ipfs/js-ipfs/issues/26)
|
||||
- [multihashing](https://github.com/jbenet/js-multihashing) [](https://github.com/ipfs/js-ipfs/issues/26)
|
||||
- [multiaddr](https://github.com/jbenet/js-multiaddr)
|
||||
- [multistream](https://github.com/diasdavid/js-multistream)
|
||||
- [ipld](https://github.com/diasdavid/js-ipld)
|
||||
- [repo](https://github.com/ipfs/js-ipfs-repo) [](https://github.com/ipfs/js-ipfs/issues/36)
|
||||
- [webcrypto](https://github.com/diasdavid/webcrypto) [](https://github.com/ipfs/js-ipfs/issues/27)
|
||||
- [**Specs**](https://github.com/ipfs/specs/tree/master/protocol/network)
|
||||
- [**Website**](https://github.com/diasdavid/libp2p-website)
|
||||
# Packages
|
||||
| Package | Version | Dependencies | DevDependencies |
|
||||
|--------|-------|------------|----------|
|
||||
| [`peer-book`](//github.com/libp2p/js-peer-book) | [](//github.com/libp2p/js-peer-book/releases) | [](https://david-dm.org/libp2p/js-peer-book) | [](https://david-dm.org/libp2p/js-peer-book?type=dev) |
|
||||
| [`libp2p-ipfs`](//github.com/ipfs/js-libp2p-ipfs) | [](//github.com/ipfs/js-libp2p-ipfs/releases) | [](https://david-dm.org/ipfs/js-libp2p-ipfs) | [](https://david-dm.org/ipfs/js-libp2p-ipfs?type=dev) |
|
||||
| [`libp2p-ipfs-browser`](//github.com/ipfs/js-libp2p-ipfs-browser) | [](//github.com/ipfs/js-libp2p-ipfs-browser/releases) | [](https://david-dm.org/ipfs/js-libp2p-ipfs-browser) | [](https://david-dm.org/ipfs/js-libp2p-ipfs-browser?type=dev) |
|
||||
| [`libp2p-secio`](//github.com/libp2p/js-libp2p-secio) | [](//github.com/libp2p/js-libp2p-secio/releases) | [](https://david-dm.org/libp2p/js-libp2p-secio) | [](https://david-dm.org/libp2p/js-libp2p-secio?type=dev) |
|
||||
| [`libp2p-swarm`](//github.com/diasdavid/js-libp2p-swarm) | [](//github.com/diasdavid/js-libp2p-swarm/releases) | [](https://david-dm.org/diasdavid/js-libp2p-swarm) | [](https://david-dm.org/diasdavid/js-libp2p-swarm?type=dev) |
|
||||
| [`libp2p-ping`](//github.com/diasdavid/js-libp2p-ping) | [](//github.com/diasdavid/js-libp2p-ping/releases) | [](https://david-dm.org/diasdavid/js-libp2p-ping) | [](https://david-dm.org/diasdavid/js-libp2p-ping?type=dev) |
|
||||
| [`interface-connection`](//github.com/diasdavid/interface-connection) | [](//github.com/diasdavid/interface-connection/releases) | [](https://david-dm.org/diasdavid/interface-connection) | [](https://david-dm.org/diasdavid/interface-connection?type=dev) |
|
||||
| [`libp2p-utp`](//github.com/diasdavid/js-libp2p-utp) | [](//github.com/diasdavid/js-libp2p-utp/releases) | [](https://david-dm.org/diasdavid/js-libp2p-utp) | [](https://david-dm.org/diasdavid/js-libp2p-utp?type=dev) |
|
||||
| [`interface-stream-muxer`](//github.com/diasdavid/interface-stream-muxer) | [](//github.com/diasdavid/interface-stream-muxer/releases) | [](https://david-dm.org/diasdavid/interface-stream-muxer) | [](https://david-dm.org/diasdavid/interface-stream-muxer?type=dev) |
|
||||
| [`libp2p-spdy`](//github.com/diasdavid/js-libp2p-spdy) | [](//github.com/diasdavid/js-libp2p-spdy/releases) | [](https://david-dm.org/diasdavid/js-libp2p-spdy) | [](https://david-dm.org/diasdavid/js-libp2p-spdy?type=dev) |
|
||||
| [`libp2p-kad-routing`](//github.com/diasdavid/js-libp2p-kad-routing) | [](//github.com/diasdavid/js-libp2p-kad-routing/releases) | [](https://david-dm.org/diasdavid/js-libp2p-kad-routing) | [](https://david-dm.org/diasdavid/js-libp2p-kad-routing?type=dev) |
|
||||
| [`libp2p-mdns-discovery`](//github.com/diasdavid/js-libp2p-mdns-discovery) | [](//github.com/diasdavid/js-libp2p-mdns-discovery/releases) | [](https://david-dm.org/diasdavid/js-libp2p-mdns-discovery) | [](https://david-dm.org/diasdavid/js-libp2p-mdns-discovery?type=dev) |
|
||||
| [`libp2p-railing`](//github.com/diasdavid/js-libp2p-railing) | [](//github.com/diasdavid/js-libp2p-railing/releases) | [](https://david-dm.org/diasdavid/js-libp2p-railing) | [](https://david-dm.org/diasdavid/js-libp2p-railing?type=dev) |
|
||||
| [`libp2p-record`](//github.com/diasdavid/js-libp2p-record) | [](//github.com/diasdavid/js-libp2p-record/releases) | [](https://david-dm.org/diasdavid/js-libp2p-record) | [](https://david-dm.org/diasdavid/js-libp2p-record?type=dev) |
|
||||
| [`interface-record-store`](//github.com/diasdavid/interface-record-store) | [](//github.com/diasdavid/interface-record-store/releases) | [](https://david-dm.org/diasdavid/interface-record-store) | [](https://david-dm.org/diasdavid/interface-record-store?type=dev) |
|
||||
| [`libp2p-distributed-record-store`](//github.com/diasdavid/js-libp2p-distributed-record-store) | [](//github.com/diasdavid/js-libp2p-distributed-record-store/releases) | [](https://david-dm.org/diasdavid/js-libp2p-distributed-record-store) | [](https://david-dm.org/diasdavid/js-libp2p-distributed-record-store?type=dev) |
|
||||
| [`libp2p-kad-record-store`](//github.com/diasdavid/js-libp2p-kad-record-store) | [](//github.com/diasdavid/js-libp2p-kad-record-store/releases) | [](https://david-dm.org/diasdavid/js-libp2p-kad-record-store) | [](https://david-dm.org/diasdavid/js-libp2p-kad-record-store?type=dev) |
|
||||
| [`libp2p-websockets`](//github.com/diasdavid/js-libp2p-websockets) | [](//github.com/diasdavid/js-libp2p-websockets/releases) | [](https://david-dm.org/diasdavid/js-libp2p-websockets) | [](https://david-dm.org/diasdavid/js-libp2p-websockets?type=dev) |
|
||||
| [`libp2p-webrtc-star`](//github.com/libp2p/js-libp2p-webrtc-star) | [](//github.com/libp2p/js-libp2p-webrtc-star/releases) | [](https://david-dm.org/libp2p/js-libp2p-webrtc-star) | [](https://david-dm.org/libp2p/js-libp2p-webrtc-star?type=dev) |
|
||||
| [`multistream-select`](//github.com/diasdavid/js-multistream) | [](//github.com/diasdavid/js-multistream/releases) | [](https://david-dm.org/diasdavid/js-multistream) | [](https://david-dm.org/diasdavid/js-multistream?type=dev) |
|
||||
|
||||
# Usage
|
||||
|
||||
@ -111,6 +76,13 @@ p2p.record.store(key, record)
|
||||
|
||||
### Stats
|
||||
|
||||
# Contribute
|
||||
|
||||
libp2p implementation in JavaScript is a work in progress. As such, there's a few things you can do right now to help out:
|
||||
|
||||
- Go through the modules below and **check out existing issues**. This would be especially useful for modules in active development. Some knowledge of IPFS/libp2p may be required, as well as the infrasture behind it - for instance, you may need to read up on p2p and more complex operations like muxing to be able to help technically.
|
||||
- **Perform code reviews**. Most of this has been developed by @diasdavid, which means that more eyes will help a) speed the project along b) ensure quality and c) reduce possible future bugs.
|
||||
- **Add tests**. There can never be enough tests.
|
||||
|
||||
|
||||
## Notes
|
||||
|
Loading…
x
Reference in New Issue
Block a user