Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-red-contrib-streamr with all npm packages installed. Try it out:

node-red-contrib-streamr lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-red-contrib-streamr/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-red-contrib-streamr v0.0.1

Streamr node-red integration. Publish and subscribe nodes to integrate to Streamr platform.

Streamr client node

Experimental wrapper for Streamr node.js client for node-red. Enables subscribing and publishing to Streamr streams with your Streamr Accounts API-key and stream id.

Installation

npm install node-red-contrib-streamr

or

git clone
npm install

Go to your ~/.node-red folder

npm install <path where you git cloned streamr client node library>

Start node-red. Find streamr client node under Streamr category.

Instructions

This library includes config node, publish and subscribe nodes. To be able to utilize these nodes you need to create a streamr account, a stream and acquire an API key. Instructions to create these can be found from Streamr blog.

Changelog

v0.0.1

  • Initial release
  • Publish and subscribe nodes added
  • Config node added

License

This library is under Apache 2.0 license see LICENSE.md for details.

TODO

  • Improve error logging
  • Improve documentation

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free