nats-cli
v1.2.0
Published
Simple CLI for NATS, can publish/subscribe to subjects
Downloads
88
Maintainers
Readme
nats-cli
Publish or subscribe to NATS subjects from the cli.
Install
npm install -g nats-cli
Usage
# Listen on all subjects
nats
# Listen on the foo subject
nats foo
# Publish message on the subject foo
nats foo bar
# Listen with wildcards
nats 'foo.>'
# Filter received messages with grep
nats 'foo.*' | grep 'some filter'