# zeronet-storage-memory

> ZeroNet filesystem memory storage module

Latest version **0.0.1** (published 2017-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install zeronet-storage-memory
pnpm add zeronet-storage-memory
yarn add zeronet-storage-memory
bun add zeronet-storage-memory
```

## 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.0.1 |
| Published | 2017-11-25 |
| First published | 2017-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 49 |
| Author | Maciej Krüger |
| Maintainers | mkg20001 |
| Keywords | zeronet, storage, memory |

## Links

- npm: https://www.npmjs.com/package/zeronet-storage-memory
- Repository: https://github.com/ZeroNetJS/zeronet-js
- Homepage: https://github.com/ZeroNetJS/zeronet-js#readme
- Issues: https://github.com/ZeroNetJS/zeronet-js/issues
- npm.io page: https://npm.io/package/zeronet-storage-memory

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-11-25
- 0.0.1-alpha18 — 2017-09-10
- 0.0.1-alpha17 — 2017-08-10
- 0.0.1-alpha16 — 2017-08-10
- 0.0.1-alpha15 — 2017-07-22
- 0.0.1-alpha14 — 2017-07-22
- 0.0.1-alpha13 — 2017-07-13
- 0.0.1-alpha13pre — 2017-07-13

## README

# ZeroNet JS
[![Waffle.io board](https://badge.waffle.io/ZeroNetJS/zeronet-js.png?columns=all)](https://waffle.io/ZeroNetJS/zeronet-js?utm_source=badge)
[![Build Status](https://travis-ci.org/ZeroNetJS/zeronet-js.svg?branch=master)](https://travis-ci.org/ZeroNetJS/zeronet-js)
[![Build status](https://ci.appveyor.com/api/projects/status/u5sbs9ofetft3d8c/branch/master?svg=true)](https://ci.appveyor.com/project/mkg20001/zeronet-js/branch/master)
[![codecov](https://codecov.io/gh/ZeroNetJS/zeronet-js/branch/master/graph/badge.svg)](https://codecov.io/gh/ZeroNetJS/zeronet-js)
[![Snap Status](https://build.snapcraft.io/badge/ZeroNetJS/zeronet-js.svg)](https://build.snapcraft.io/user/ZeroNetJS/zeronet-js)

![Logo](https://avatars2.githubusercontent.com/u/30019016?v=4&s=200)


A JS version of ZeroNet, using libp2p.

# About

This project was mainly created to see how the zeronet protocol can be improved and to provide better programmaticall usage of zeronet.

But it will also be compatible with zeronet-py (and will have an uiserver).

# CLI Usage

> TODO...

---

### Todos/Notes have been moved to [the Roadmap](/ROADMAP.md)

# Running

Just run `npm start` and it should:

-   Launch a server on 0.0.0.0:15543
-   Launch a uiserver on 127.0.0.1:15544
-   Make itself visible in the mdns

-----

### This module uses `pull-streams`

We expose a streaming interface based on `pull-streams`, rather then on the Node.js core streams implementation (aka Node.js streams). `pull-streams` offers us a better mechanism for error handling and flow control guarantees.

You can learn more about pull-streams at:

- [The history of Node.js streams, nodebp April 2014](https://www.youtube.com/watch?v=g5ewQEuXjsQ)
- [The history of streams, 2016](http://dominictarr.com/post/145135293917/history-of-streams)
- [pull-streams, the simple streaming primitive](http://dominictarr.com/post/149248845122/pull-streams-pull-streams-are-a-very-simple)
- [pull-streams documentation](https://pull-stream.github.io/)

#### Converting `pull-streams` to Node.js Streams

If you are a Node.js streams user, you can convert a pull-stream to a Node.js stream using the module [`pull-stream-to-stream`](https://github.com/pull-stream/pull-stream-to-stream), giving you an instance of a Node.js stream that is linked to the pull-stream. For example:

```js
const pullToStream = require('pull-stream-to-stream')

const nodeStreamInstance = pullToStream(pullStreamInstance)
// nodeStreamInstance is an instance of a Node.js Stream
```

To learn more about this utility, visit https://pull-stream.github.io/#pull-stream-to-stream.

-----

[ZeroNetJS](https://github.com/ZeroNetJS) is developed independently from [ZeroNet](https://github.com/HelloZeroNet)

Docs are autogenerated by [a script](/docs-gen/lib/index.js?raw=true)

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