# @netrunner/registry-log

> Domain registry log based on hypercore and protobuf

Latest version **1.0.9** (published 2018-10-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @netrunner/registry-log
pnpm add @netrunner/registry-log
yarn add @netrunner/registry-log
bun add @netrunner/registry-log
```

## 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 | 1.0.9 |
| Published | 2018-10-03 |
| First published | 2018-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 52.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | phoenix344 |
| Maintainers | phoenix344 |
| Keywords | domain, registry, dat |

## Links

- npm: https://www.npmjs.com/package/@netrunner/registry-log
- Repository: https://github.com/phoenix344/registry-log
- Homepage: https://github.com/phoenix344/registry-log#readme
- Issues: https://github.com/phoenix344/registry-log/issues
- npm.io page: https://npm.io/package/@netrunner/registry-log

## Dependencies (3)

- [pbf](https://npm.io/package/pbf.md) ^3.1.0
- [hypercore](https://npm.io/package/hypercore.md) ^6.18.3
- [sodium-signatures](https://npm.io/package/sodium-signatures.md) ^2.1.1

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 1.0.9 (latest) — 2018-10-03
- 1.0.8 — 2018-10-03
- 1.0.7 — 2018-09-22
- 1.0.6 — 2018-09-16
- 1.0.5 — 2018-09-16
- 1.0.4 — 2018-09-16
- 1.0.3 — 2018-09-16
- 1.0.2 — 2018-09-16
- 1.0.1 — 2018-09-16
- 1.0.0 — 2018-09-16

## README

# registry-log
The registry log is a secure distributed append-only log for domains.

```
npm install @netrunner/registry-log
```

registry-log requires the [hypercore](https://www.npmjs.com/package/hypercore) library and changes
the encoding/decoding methods. The API is exactly the same as the hypercore API.

```typescript
const ram = require("random-access-memory");
const { registryLog } = require("@netrunner/registry-log");

const feed = registryLog(filename => ram(filename));

feed.ready(() => {
    feed.append({
        key: Buffer.from("the public key"),
        sig: Buffer.from("fake sig"),
        created: Date.now(),
        name: "google",
        target: "http://www.google.com"
    }, (err) => {
        if (err) return console.log(err);
        feed.get(0, (err, entry) => {
            if (err) return console.log(err);
            console.log(entry);
        });
    });
});
```

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