Skip to content

hi2code/stompjs-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stompjs-cli

stompjs-cli is an interactive command-line client for stomp protocol.

Installation

npm install -g stompjs-cli
pnpm install -g stompjs-cli

Usage

# stompjs-cli <brokerURL>
stompjs-cli ws://localhost:8080/foo

## Subscribe to a destination
stompjs-cli> sub /topic/bar
Subscribed to /topic/bar

## Publish a message to a destination
stompjs-cli> pub /topic/greetings hello
Published to /topic/greetings: hello

## When receive message
stompjs-cli> Received on /topic/greetings: hello

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache-2.0

About

stompjs-cli is an interactive command-line client for Stompjs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published