# @dstack-js/transport

> Forked from [libp2p-webrtc-star](https://github.com/libp2p/js-libp2p-webrtc-star/tree/v0.17.x) to add ability to isolate peers by namespacing them.

Latest version **0.2.50** (published 2022-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dstack-js/transport
pnpm add @dstack-js/transport
yarn add @dstack-js/transport
bun add @dstack-js/transport
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.50 |
| Published | 2022-05-13 |
| First published | 2022-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 23 |
| Unpacked size | 39.3 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | 0x77 |

## Links

- npm: https://www.npmjs.com/package/@dstack-js/transport
- npm.io page: https://npm.io/package/@dstack-js/transport

## Dependencies (23)

- [debug](https://npm.io/package/debug.md) 4.3.4
- [mafmt](https://npm.io/package/mafmt.md) ^7.0.1
- [buffer](https://npm.io/package/buffer.md) ^5.6.0
- [it-pipe](https://npm.io/package/it-pipe.md) ^1.0.1
- [p-defer](https://npm.io/package/p-defer.md) ^3.0.0
- [peer-id](https://npm.io/package/peer-id.md) 0.16.0
- [class-is](https://npm.io/package/class-is.md) ^1.1.0
- [err-code](https://npm.io/package/err-code.md) ^2.0.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [menoetius](https://npm.io/package/menoetius.md) 0.0.3
- [multiaddr](https://npm.io/package/multiaddr.md) ^7.1.0
- [peer-info](https://npm.io/package/peer-info.md) ~0.17.0
- [socket.io](https://npm.io/package/socket.io.md) 4.4.1
- [@hapi/hapi](https://npm.io/package/@hapi/hapi.md) ^18.4.0
- [@hapi/inert](https://npm.io/package/@hapi/inert.md) ^5.2.2
- [prom-client](https://npm.io/package/prom-client.md) ^12.0.0
- [simple-peer](https://npm.io/package/simple-peer.md) ^9.6.0
- [libp2p-utils](https://npm.io/package/libp2p-utils.md) 0.4.1
- [stream-to-it](https://npm.io/package/stream-to-it.md) ^0.2.0
- [webrtcsupport](https://npm.io/package/webrtcsupport.md) github:ipfs/webrtcsupport
- [socket.io-client](https://npm.io/package/socket.io-client.md) 4.4.1
- [abortable-iterator](https://npm.io/package/abortable-iterator.md) ^3.0.0
- [streaming-iterables](https://npm.io/package/streaming-iterables.md) ^4.1.0

## Recent versions

- 0.2.50 (latest) — 2022-05-13
- 0.2.49 — 2022-03-26
- 0.2.48 — 2022-03-26
- 0.2.47 — 2022-03-26
- 0.2.46 — 2022-03-24
- 0.2.45 — 2022-03-24
- 0.2.44 — 2022-03-24
- 0.2.43 — 2022-03-24

## README

# @dstack-js/transport

Forked from [libp2p-webrtc-star](https://github.com/libp2p/js-libp2p-webrtc-star/tree/v0.17.x) to add ability to isolate peers by namespacing them.

This module is optimized to work with [DStack Relay](https://dstack.dev/docs/relay)

And this module was made specifically to use in [@dstack-js/ipfs](https://www.npmjs.com/package/@dstack-js/ipfs) package.

[See tutorial to get started working with DStack](https://dstack.dev/docs/intro)

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