/p2p

This is the nodejs implementation of DDN P2P protocol

Primary LanguageJavaScriptMIT LicenseMIT

DDN p2p network protocol

Abstract 摘要

这是 DDN p2p协议实现

Install 安装

npm install @ddn/p2p --save

Usage 使用

只要基于 ES6 开发,Node.js或浏览器端都可以这样调用

import { P2P } from '@ddn/p2p';
const peer = new P2p(port, host, options)

Develop 开发

$ yarn build