mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-07-02 05:01:34 +00:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
114998db1c | |||
4a94e3ca01 | |||
e451201848 | |||
e7524e1747 | |||
06689e3ff0 | |||
376f938cc0 | |||
a2958b9bca | |||
7b7e521e57 | |||
2330732ed5 | |||
7b7e7f6344 | |||
48708ac4d2 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -25,6 +25,3 @@ build/Release
|
|||||||
# Dependency directory
|
# Dependency directory
|
||||||
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
|
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
lib
|
|
||||||
dist
|
|
22
.travis.yml
22
.travis.yml
@ -1,9 +1,13 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
matrix:
|
||||||
- 4
|
include:
|
||||||
- 5
|
- node_js: 4
|
||||||
- stable
|
env: CXX=g++-4.8
|
||||||
|
- node_js: 6
|
||||||
|
env: CXX=g++-4.8
|
||||||
|
- node_js: stable
|
||||||
|
env: CXX=g++-4.8
|
||||||
|
|
||||||
# Make sure we have new NPM.
|
# Make sure we have new NPM.
|
||||||
before_install:
|
before_install:
|
||||||
@ -14,12 +18,16 @@ script:
|
|||||||
- npm test
|
- npm test
|
||||||
- npm run coverage
|
- npm run coverage
|
||||||
|
|
||||||
addons:
|
|
||||||
firefox: 'latest'
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- npm run coverage-publish
|
- npm run coverage-publish
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- g++-4.8
|
@ -3,9 +3,11 @@
|
|||||||
[](http://ipn.io)
|
[](http://ipn.io)
|
||||||
[](http://webchat.freenode.net/?channels=%23ipfs)
|
[](http://webchat.freenode.net/?channels=%23ipfs)
|
||||||
[](https://travis-ci.org/libp2p/js-libp2p-tcp)
|
[](https://travis-ci.org/libp2p/js-libp2p-tcp)
|
||||||

|
[](https://coveralls.io/github/libp2p/js-libp2p-tcp?branch=master)
|
||||||
[](https://david-dm.org/libp2p/js-libp2p-tcp)
|
[](https://david-dm.org/libp2p/js-libp2p-tcp)
|
||||||
[](https://github.com/feross/standard)
|
[](https://github.com/feross/standard)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
@ -105,7 +107,7 @@ To learn more about this utility, visit https://pull-stream.github.io/#pull-stre
|
|||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
[](https://github.com/diasdavid/interface-transport)
|
[](https://github.com/libp2p/interface-transport)
|
||||||
|
|
||||||
`libp2p-tcp` accepts TCP addresses both IPFS and non IPFS encapsulated addresses, i.e:
|
`libp2p-tcp` accepts TCP addresses both IPFS and non IPFS encapsulated addresses, i.e:
|
||||||
|
|
||||||
|
31
package.json
31
package.json
@ -1,16 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "libp2p-tcp",
|
"name": "libp2p-tcp",
|
||||||
"version": "0.8.1",
|
"version": "0.9.0",
|
||||||
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces",
|
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces",
|
||||||
"main": "lib/index.js",
|
"main": "src/index.js",
|
||||||
"jsnext:main": "src/index.js",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "aegir-lint",
|
"lint": "aegir-lint",
|
||||||
"build": "aegir-build --env node",
|
|
||||||
"test": "aegir-test --env node",
|
"test": "aegir-test --env node",
|
||||||
"release": "aegir-release --env node",
|
"release": "aegir-release --env no-build",
|
||||||
"release-minor": "aegir-release --type minor --env node",
|
"release-minor": "aegir-release --type minor --env no-build",
|
||||||
"release-major": "aegir-release --type major --env node",
|
"release-major": "aegir-release --type major --env no-build",
|
||||||
"coverage": "aegir-coverage",
|
"coverage": "aegir-coverage",
|
||||||
"coverage-publish": "aegir-coverage publish"
|
"coverage-publish": "aegir-coverage publish"
|
||||||
},
|
},
|
||||||
@ -20,7 +18,7 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/diasdavid/js-libp2p-tcp.git"
|
"url": "https://github.com/libp2p/js-libp2p-tcp.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"IPFS"
|
"IPFS"
|
||||||
@ -28,32 +26,35 @@
|
|||||||
"author": "David Dias <daviddias@ipfs.io>",
|
"author": "David Dias <daviddias@ipfs.io>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/diasdavid/js-libp2p-tcp/issues"
|
"url": "https://github.com/libp2p/js-libp2p-tcp/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/libp2p/js-libp2p-tcp",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=4.0.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/diasdavid/js-libp2p-tcp",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"aegir": "^6.0.1",
|
"aegir": "^9.0.1",
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"interface-transport": "^0.3.3",
|
"interface-transport": "^0.3.3",
|
||||||
"lodash.isfunction": "^3.0.8",
|
"lodash.isfunction": "^3.0.8",
|
||||||
"pre-commit": "^1.1.2"
|
"pre-commit": "^1.1.2",
|
||||||
|
"pull-stream": "^3.4.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"interface-connection": "0.2.1",
|
"interface-connection": "0.2.1",
|
||||||
"ip-address": "^5.8.0",
|
"ip-address": "^5.8.0",
|
||||||
"lodash.contains": "^2.4.3",
|
"lodash.contains": "^2.4.3",
|
||||||
"mafmt": "^2.1.2",
|
"mafmt": "^2.1.2",
|
||||||
"multiaddr": "^2.0.2",
|
"multiaddr": "^2.0.3",
|
||||||
"pull": "^2.1.1",
|
|
||||||
"stream-to-pull-stream": "^1.7.0"
|
"stream-to-pull-stream": "^1.7.0"
|
||||||
},
|
},
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"David Dias <daviddias.p@gmail.com>",
|
"David Dias <daviddias.p@gmail.com>",
|
||||||
"Evan Schwartz <evan.mark.schwartz@gmail.com>",
|
"Evan Schwartz <evan.mark.schwartz@gmail.com>",
|
||||||
|
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
|
||||||
"João Antunes <j.goncalo.antunes@gmail.com>",
|
"João Antunes <j.goncalo.antunes@gmail.com>",
|
||||||
"Richard Littauer <richard.littauer@gmail.com>",
|
"Richard Littauer <richard.littauer@gmail.com>",
|
||||||
"Stephen Whitmore <stephen.whitmore@gmail.com>",
|
"Stephen Whitmore <stephen.whitmore@gmail.com>",
|
||||||
"dignifiedquire <dignifiedquire@gmail.com>",
|
|
||||||
"greenkeeperio-bot <support@greenkeeper.io>"
|
"greenkeeperio-bot <support@greenkeeper.io>"
|
||||||
]
|
]
|
||||||
}
|
}
|
Reference in New Issue
Block a user