
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
streamr-network
Advanced tools
An extendible implementation of the server-side Streamr Protocol logic written in TypeScript. The package mostly acts as a library for other packages wishing to implement a broker node, but additionally provides a full tracker executable, and a stripped-down network node executable.
The primary executable for running a broker node in the Streamr Network resides in the streamr-broker package. Although streamr-network contains a fully-operational minimal network node implementation, we recommend running the node executable found in streamr-broker as it includes useful client-facing features for interacting with the Streamr Network.
The wiki outlines the technical and architectural decisions of the project. It provides thorough explanations of some the more involved features. A glossary is also included.
Prerequisites are Node.js 14.x and npm version >=6.14.
You can install streamr-network as a library in your project using npm:
npm install streamr-network --save
To install streamr-network system-wide:
npm install streamr-network --global
Run an example network of 100 nodes (locally):
npm run network
Install dependencies:
npm ci
Run the tests:
npm run test
To build project:
npm run build
We use eslint for code formatting:
npm run eslint
Code coverage:
npm run coverage
To get all debug messages:
LOG_LEVEL=debug
... or adjust debugging to desired level:
LOG_LEVEL=[debug|info|warn|error]
To disable all logs
NOLOG=true
To regenerate self signed certificate in ./test/fixtures run:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 36500 -nodes -subj "/CN=localhost"
Publishing to NPM is automated via Github Actions. Follow the steps below to publish stable (latest) or beta.
git checkout master && git pullnpm version [patch|minor|major]. Use semantic versioning
https://semver.org/. Files package.json and package-lock.json will be automatically updated, and an appropriate git commit and tag created.git push --follow-tagsnpm version [prepatch|preminor|premajor] --preid=beta. Use semantic versioning
https://semver.org/. Files package.json and package-lock.json will be automatically updated, and an appropriate git commit and tag created.git push --follow-tagsFAQs
Minimal and extendable implementation of the Streamr Network network node.
The npm package streamr-network receives a total of 136 weekly downloads. As such, streamr-network popularity was classified as not popular.
We found that streamr-network demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.