{"bin":{"tracker":"bin/tracker.js","publisher":"bin/publisher.js","subscriber":"bin/subscriber.js"},"bugs":{"url":"https://github.com/streamr-dev/network/issues"},"dist":{"shasum":"53c00cd8b55deefc6069a788ce46617086af843f","tarball":"https://registry.npmjs.org/streamr-network/-/streamr-network-17.9.0-beta.1.tgz","fileCount":109,"integrity":"sha512-H5L8l6aLy68ygjKcw0zHcMcOpHi0gKc9cFprzKs/u3YixduSvzEEleTx09VZ1fIUMQCMOe5DLTx2j5raDwdAhg==","signatures":[{"sig":"MEQCIArtEBqjLwAzBPifNLkt5XbhggimnRKYuFrlYlorwdq3AiAP0DdVjO4Kz01+ohi/6ZfwbB31OXZO69jb7mQ/uyIPAA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":503617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe18ttCRA9TVsSAnZWagAA9MMP/23zkGjNECb9SZh51ZvE\n9JPHTAHEmFanLA7pEaR9CTGdttU165sAD9SGn/GCjGKln7wU5fC6NBPUZ5pC\nNtfyBAmjquEz0orKfvFGdfKP/6yOY6y5XqPjWvERqduh0xHxX4kNR7a6/mun\nw1CPrYs2ytbo8a8BB17ciJoNRy9O7cHueAxUUTFVzxzQ0P9EulLApoorCYt0\nBrHv3z6yIQxVy29iLXrMKvIvC8GJrdeVttXHLDRQWUSfIxRa/GTJ602DpmeH\nR+m442btf7cvPEr6cToMUKbBePA+e/Cb2LU+8nI6q34bzziv8cuFIYsRPpfs\nWqj/kSb6BsiV2PdJ2LXbYHbz1R7eQTBECTqgeSbaFJBTpzKErahdkOTi3PQd\niutEmS9kDLFLe877EbZ5VtfbnKgtBVk9FwzINGbU9lGcPioKGmJGozK7/fhJ\nW9zvDaExOgmHyfuh6grvcj2qTrDTv37gHxm4ZlCAGHqFuRO/eBQv8Y2XGoXK\neUslSbENgE8AEr/V2noAKCByHxokl9Cl2OfcMDXvyJSmsvJ5pTl+6Ir8nJUX\nS56cuhgweE9ihTgr0obra4vZZ6XGNPOuyMzUt54KXMFtoNvjjt6ku/zkMNrF\n47DWRN6VMLDmVMVW66bxPnq2kc25gpePgjOfz5Ug93Gjo8Hdf3yWc5PoBVdE\ne79j\r\n=6EPs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/composition.js","name":"streamr-network","author":"","readme":"# Streamr network \n ![Travis](https://travis-ci.com/streamr-dev/network.svg?token=qNNVCnYJo1fz18VTNpPZ&branch=master)\n \n> Peer-to-peer publish-subscribe network for real-time data with support for long-term data persistence\n\nThis repository/package contains an extendable implementation of the\n[Streamr protocol](https://github.com/streamr-dev/streamr-specs/blob/master/PROTOCOL.md) written in Node.js.\nThe code contains a tracker implementation and a minimal network node implementation.\nThis package acts as a library for other Node.js packages, but also provides a few of its own executables as well.\n\n\nThe main executable for running a broker node in the Streamr Network resides in the\n[Broker](https://github.com/streamr-dev/broker) repository. Although this repository does contain a\nfully-operational minimal network node implementation, we recommend running the broker node because it includes\nuseful client-facing features for interacting with the Streamr Network. \n\nThe [wiki](https://github.com/streamr-dev/network/wiki) of this project outlines the technical and architectural\ndecisions made during development. It also provides explanations of some the more involved features. There is also a\nglossary for often used terms. We aim to keep the wiki updated regularly so it is an accurate reflection of the code\nbase.\n\n## Table of Contents\n- [Installation](#installation)\n- [Architectural decisions](https://github.com/streamr-dev/network/wiki)\n- [Examples](#examples)\n- [Development](#development)\n- [Releasing](#releasing)\n\n## Installation\n\nPrerequisites: [Node.js](https://nodejs.org/) (`>=^13.11.0`), npm version 6.14.2.\n\nYou can install Streamr Network using npm:\n\n```\n$ npm install streamr-network --save\n```\n\nIt is also possible to install Streamr Network globally (using `npm install streamr-network --global`)\n\n## Examples\n\nCheck the [examples folder](./examples) for examples of using the network node in different settings. Examples include:\ntypical pub/sub setting, and publishing and subscribing using MQTT.\n\n## Development\n\nInstall dependencies:\n\n    npm ci\n    \nRun the tests:\n\n    npm run test\n\nRun an example network locally (10 nodes):\n\n    npm run network\n\nWe use [eslint](https://github.com/eslint/eslint) for code formatting:\n\n    npm run eslint\n\nCode coverage:\n\n    npm run coverage\n    \nDebugging:\n\nTo get all Streamr Network debug messages  \n\n    export DEBUG=streamr:*\n    \nOr adjust debugging to desired level \n\n- connection layer `export DEBUG=streamr:connection:*`\n- logic layer `export DEBUG=streamr:logic:*`\n- protocol layer `export DEBUG=streamr:protocol:*`\n\nExcluding level\n\n    export DEBUG=streamr:*,-streamr:connection:*\n    \n    \n## Releasing\n\nTo release a new version of this project to NPM\n\n1. Update version with either `npm version patch`, `npm version minor`, or `npm version major`. Use semantic versioning\nhttps://semver.org/. Files package.json and package-lock.json will be automatically updated, and an appropriate git commit and tag created. \n2. `git push --follow-tags`\n3. Wait for Travis CI to run tests\n4. If tests passed, Travis CI will publish the new version to NPM\n","engines":{"npm":"6.14.2","node":"13.11.0"},"gitHead":"54070c7f7cff98dc50546b92e8bcd9db83017df7","license":"","scripts":{"pub":"node $NODE_DEBUG_OPTION bin/publisher.js","sub":"node $NODE_DEBUG_OPTION bin/subscriber.js","test":"jest --detectOpenHandles","pub-1":"node $NODE_DEBUG_OPTION bin/publisher.js --port=30323","pub-2":"node $NODE_DEBUG_OPTION bin/publisher.js --port=30333","sub-1":"node $NODE_DEBUG_OPTION bin/subscriber.js --port=30335","sub-2":"node $NODE_DEBUG_OPTION bin/subscriber.js --port=30345","eslint":"eslint .","network":"node $NODE_DEBUG_OPTION bin/run.js","tracker":"node $NODE_DEBUG_OPTION bin/tracker.js","coverage":"jest --coverage","test-unit":"jest test/unit --detectOpenHandles","test-integration":"jest test/integration --detectOpenHandles"},"_npmUser":{"name":"hpihkala","email":"henri.pihkala@streamr.com"},"homepage":"https://github.com/streamr-dev/network#readme","keywords":["p2p","pubsub","networking","streamr"],"repository":{"url":"git+https://github.com/streamr-dev/network.git","type":"git"},"_npmVersion":"6.14.4","description":"Streamr P2P network","directories":{},"maintainers":[{"name":"fonty1","email":"mr.matto@gmail.com"},{"name":"harbu","email":"harbuzen@gmail.com"},{"name":"hpihkala","email":"henri.pihkala@streamr.com"},{"name":"jtakalai","email":"juuso.takalainen@streamr.com"},{"name":"juhah","email":"juha.haavisto@streamr.com"},{"name":"juslesan","email":"santeri.juslenius@gmail.com"},{"name":"jwolff","email":"jwolff@isentropy.com"},{"name":"kare","email":"kare.nuorteva@me.com"},{"name":"mariusz_io","email":"mariusz@mariusz.io"},{"name":"mirpo","email":"miroslavpokrovskiy@gmail.com"},{"name":"mk_streamr","email":"mikhael.santos@streamr.com"},{"name":"mmartinmo","email":"martin.moravek@streamr.com"},{"name":"mthambipillai","email":"melkiorthambipillai@gmail.com"},{"name":"pzsavola","email":"petri.savolainen@spaceify.net"},{"name":"streamr-dev","email":"devtools@streamr.com"},{"name":"timoxley","email":"secoif@gmail.com"},{"name":"tumppi","email":"tuomas.koponen@streamr.com"}],"_nodeVersion":"13.12.0","dependencies":{"qs":"^6.9.4","ws":"^7.2.5","uuid":"^8.0.0","debug":"4.1.1","fastify":"^2.14.0","hashring":"^3.2.0","pidusage":"^2.0.18","commander":"^5.1.0","lru-cache":"^5.1.1","bufferutil":"^4.0.1","speedometer":"^1.1.0","@sentry/node":"^5.15.5","fastify-cors":"^3.0.3","streamr-client":"^3.2.1","uWebSockets.js":"github:uNetworking/uWebSockets.js#v17.4.0","utf-8-validate":"^5.0.2","promise.allsettled":"^1.0.2","streamr-client-protocol":"^5.0.0-beta.4"},"engineStrict":true,"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^25.5.4","eslint":"^6.8.0","portfinder":"^1.0.26","into-stream":"^5.1.1","streamr-test-utils":"^1.0.4","eslint-plugin-import":"^2.20.2","eslint-plugin-promise":"^4.2.1","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import-order":"2.1.4","eslint-config-streamr-nodejs":"^1.3.0"},"optionalDependencies":{"bufferutil":"^4.0.1","utf-8-validate":"^5.0.2"},"_npmOperationalInternal":{"tmp":"tmp/streamr-network_17.9.0-beta.1_1591200621272_0.2496203346132848","host":"s3://npm-registry-packages"},"_id":"streamr-network@17.9.0-beta.1","version":"17.9.0-beta.1"}