# peerless

> ## _🚨 This isn't implemented yet 🚨_

Latest version **0.0.1** (published 2020-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install peerless
pnpm add peerless
yarn add peerless
bun add peerless
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-05-02 |
| First published | 2020-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ben Foxall |
| Maintainers | benjaminbenben |

## Links

- npm: https://www.npmjs.com/package/peerless
- Homepage: https://github.com/benfoxall/peerless#readme
- Issues: https://github.com/benfoxall/peerless/issues
- npm.io page: https://npm.io/package/peerless

## Recent versions

- 0.0.1 (latest) — 2020-05-02

## README

# 👑 Peerless

## _🚨 This isn't implemented yet 🚨_

## A web server that runs _inside_ your web browser

```js
// window1.html
const server = new Server();

console.log(await server.endpoint); // unique-generated-code-abcde

for await (const { message, reply } of server) {
  reply('Hello, ' + message);
}
```

```ts
// window2.html
const client = new Client('unique-generated-code-abcde');

const response = await client.send('Peerless');

console.log(response);
// Hello, Peerless
```

## [todo: video]

Good Stuff 👌:

- peer-to-peer – direct connection between browsers (fast!)
- 1:N – let loads of people connect to you
- streaming – for fun/interactive UIs

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