🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@streamr/listen-to-stream

Package Overview
Dependencies
Maintainers
11
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@streamr/listen-to-stream

Tool that subscribes to a Streamr stream and prints events to stdout

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
11
Created
Source

listen-to-stream

Command line tool for listening to Streamr streams. Outputs events to stdout.

Installation

npm install -g @streamr/listen-to-stream

Usage

Public stream

To listen to a public stream such as the Public transport demo:

listen-to-stream 7wa7APtlTq6EC5iTCBy6dw

Private stream

Listen to a private stream:

listen-to-stream streamId apiKey

where apiKey is the key of the user or stream with READ privilege.

Development environment stream

Listen to a development environment stream

listen-to-stream streamId apiKey ws://localhost:8890/api/v1/ws http://localhost:8081/streamr-core/api/v1

or

listen-to-stream-dev streamId apiKey

Publishing

npm publish --access=public

Keywords

streamr

FAQs

Package last updated on 14 Sep 2018

Did you know?

Socket

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.

Install

Related posts