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'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    25
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    25
  • 1.1.0
    0
  • 1.0.0
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i nats-cli

Weekly Downloads

25

Version

1.2.0

License

MIT

Unpacked Size

7.52 kB

Total Files

5

Last publish

Collaborators

  • kvartborg