1.0.2 • Published 7 years ago
@streamr/listen-to-stream v1.0.2
listen-to-stream
Command line tool for listening to Streamr streams. Outputs events to stdout.
Installation
npm install -g @streamr/listen-to-streamUsage
Public stream
To listen to a public stream such as the Public transport demo:
listen-to-stream 7wa7APtlTq6EC5iTCBy6dwPrivate stream
Listen to a private stream:
listen-to-stream streamId apiKeywhere 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/v1or
listen-to-stream-dev streamId apiKeyPublishing
npm publish --access=public