nats-cli

1.2.0 • Public • Published

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'

Package Sidebar

Install

npm i nats-cli

Weekly Downloads

20

Version

1.2.0

License

MIT

Unpacked Size

7.52 kB

Total Files

5

Last publish

Collaborators

  • kvartborg