Socket
Book a DemoInstallSign in
Socket

npublish

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npublish

publish a json message to nsq from the command-line

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

npub

Publish json messages to NSQ.

Installation

$ npm install -g npublish

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

Keywords

nsqs

FAQs

Package last updated on 15 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts