mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-07-02 04:41:45 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
c957ae9384 | |||
6be826965e | |||
bad3fbbbd3 |
11
.travis.yml
Normal file
11
.travis.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
sudo: false
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "4.0"
|
||||||
|
|
||||||
|
# Make sure we have new NPM.
|
||||||
|
before_install:
|
||||||
|
- npm install -g npm
|
||||||
|
|
||||||
|
script:
|
||||||
|
- npm test
|
@ -3,6 +3,9 @@ node-libp2p-tcp
|
|||||||
|
|
||||||
[](http://ipn.io) [[](http://webchat.freenode.net/?channels=%23ipfs) ](https://travis-ci.org/diasdavid/node-libp2p-tcp)  [](https://david-dm.org/diasdavid/node-libp2p-tcp) [](https://github.com/feross/standard)
|
[](http://ipn.io) [[](http://webchat.freenode.net/?channels=%23ipfs) ](https://travis-ci.org/diasdavid/node-libp2p-tcp)  [](https://david-dm.org/diasdavid/node-libp2p-tcp) [](https://github.com/feross/standard)
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
> Node.js implementation of the TCP module that libp2p uses, which implements the [abstract-connection]() interface for dial/listen.
|
> Node.js implementation of the TCP module that libp2p uses, which implements the [abstract-connection]() interface for dial/listen.
|
||||||
|
|
||||||
note: libp2p-tcp in Node.js is a very thin shim that adds the support to dial to a `multiaddr`. This small shim will enable libp2p to use other different transports.
|
note: libp2p-tcp in Node.js is a very thin shim that adds the support to dial to a `multiaddr`. This small shim will enable libp2p to use other different transports.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libp2p-tcp",
|
"name": "libp2p-tcp",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the abstract-connection interface",
|
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the abstract-connection interface",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -21,7 +21,8 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/diasdavid/node-libp2p-tcp",
|
"homepage": "https://github.com/diasdavid/node-libp2p-tcp",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"abstract-connection": "^0.1.0",
|
"abstract-connection": "0.0.1",
|
||||||
|
"abstract-transport": "^0.1.0",
|
||||||
"pre-commit": "^1.1.1",
|
"pre-commit": "^1.1.1",
|
||||||
"standard": "^5.2.2",
|
"standard": "^5.2.2",
|
||||||
"tape": "^4.2.0"
|
"tape": "^4.2.0"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
var tape = require('tape')
|
var tape = require('tape')
|
||||||
var tests = require('abstract-connection/tests')
|
var tests = require('abstract-transport/tests')
|
||||||
var conn = require('../src')
|
var conn = require('../src')
|
||||||
|
|
||||||
var common = {
|
var common = {
|
||||||
|
Reference in New Issue
Block a user