zeronet-fileserver

0.0.8 • Public • Published

ZeroNet FileServer

ZeroNet protocol definitions for the fileserver-api


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:

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, giving you an instance of a Node.js stream that is linked to the pull-stream. For example:

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 is developed independently from ZeroNet

Docs are autogenerated by a script

Readme

Keywords

Package Sidebar

Install

npm i zeronet-fileserver

Weekly Downloads

2

Version

0.0.8

License

MIT

Unpacked Size

15.6 kB

Total Files

9

Last publish

Collaborators

  • mkg20001