What is hyperdrive and how is that different from dat?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 02:54:12

TL;DR: Dat is for end users and Hyperdrive for developers.

Dat is a user friendly interface for sharing distributed files. Anyone can download the program and use it to securely share files peer-to-peer.

Under the hood it uses Hyperdrive which is a Node.js package that aims to implement the same APIs as Node.js' core fs module, but it also offers data replication features.

There also is a dat-node module to use Dat's features in your own Node.js applications. With dat-node it is even easier than with Hyperdrive (just a little less flexible) to connect your own Node.js application to the distributed network.

If you compare the documentation of Hyperdrive and dat-node you'll quickly spot the simplified interface which dat-node provides.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!