peerpigeon
Version:
WebRTC-based peer-to-peer mesh networking library with intelligent routing and signaling server
81 lines (80 loc) • 2.19 kB
JSON
{
"name": "peerpigeon",
"version": "0.1.1",
"description": "WebRTC-based peer-to-peer mesh networking library with intelligent routing and signaling server",
"main": "index.js",
"type": "module",
"exports": {
".": {
"import": "./index.js"
}
},
"scripts": {
"dev": "concurrently \"npm run server\" \"npm run dev:http\" --names \"signaling,http\" --prefix-colors \"blue,green\"",
"dev:http": "node dev-server.js",
"start": "node websocket-server/server.js",
"server": "node websocket-server/server.js",
"lint": "node -c src/*.js examples/**/*.js websocket-server/*.js",
"lint:fix": "eslint --cache --cache-location .eslintcache src/ examples/ websocket-server/ --ext .js --fix",
"test": "node test/test-reporter.js",
"test:storage": "node examples/node/storage-test.js",
"test:browser": "node test/browser-integration-test.js",
"test:browser:headless": "HEADLESS=true node test/browser-integration-test.js",
"test:legacy": "npm run test:storage && npm run test:browser:headless",
"ci": "npm run lint && npm run test",
"prepublishOnly": "npm run ci"
},
"files": [
"index.js",
"src/",
"server/",
"websocket-server/",
"examples/",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/draeder/peerpigeon.git"
},
"keywords": [
"webrtc",
"p2p",
"mesh",
"networking",
"decentralized",
"kademlia",
"signaling",
"websocket",
"peer-to-peer",
"dht",
"gossip",
"mesh-network",
"xor-routing",
"webrtc-mesh",
"nativescript"
],
"author": "Daniel Raeder",
"license": "MIT",
"bugs": {
"url": "https://github.com/draeder/peerpigeon/issues"
},
"homepage": "https://github.com/draeder/peerpigeon#readme",
"dependencies": {
"@koush/wrtc": "^0.5.3",
"unsea": "^1.1.0",
"ws": "^8.18.0",
"yamljs": "^0.3.0"
},
"devDependencies": {
"concurrently": "^9.2.0",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"express": "^4.19.2",
"jsdoc": "^4.0.4",
"puppeteer": "^22.0.0"
},
"engines": {
"node": ">=14.0.0"
}
}