Skip to content

Publish a message to NSQ from the command-line

Notifications You must be signed in to change notification settings

segment-boneyard/npub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npub

Publish messages to NSQ.

Installation

$ npm install -g npub

Usage


  Usage: npub [options] <topic> <msg>

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
    --nsqd <addr>  nsqd address [:4150]

Example

$ npub red-range '{ "from":"2013-02-01", "to":"2014-01-01" }'
$ npub --nsqd :5001 red-range '{ "from":"2013-02-01", "to":"2014-01-01" }'

License

MIT

About

Publish a message to NSQ from the command-line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published