# unihub

> ## usage

Latest version **0.1.0** (published 2016-04-07) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2016-04-07 |
| First published | 2016-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jackhftang |

## Links

- npm: https://www.npmjs.com/package/unihub
- npm.io page: https://npm.io/package/unihub

## Recent versions

- 0.1.0 (latest) — 2016-04-07

## README

# UniHub

## usage

    var Node = require('unihub').Node;
    var Hub  = require('unihub').Hub;

    h = new Hub({
      id: 'h'
    });
    
    a = new Node({
      id: 'a'
    });
    
    b = new Node({
      id: 'b'
    });
    
    h.addLink(a.id, a.feed.bind(a));
    h.addLink(b.id, b.feed.bind(b));
    
    a.addHub(h.feed.bind(h));
    b.addHub(h.feed.bind(h));

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