Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/segment-boneyard/npub

Publish a message to NSQ from the command-line
https://github.com/segment-boneyard/npub

Last synced: about 5 hours ago
JSON representation

Publish a message to NSQ from the command-line

Awesome Lists containing this project

README

        

# npub

Publish messages to NSQ.

## Installation

```
$ npm install -g npub
```

## Usage

```

Usage: npub [options]

Options:

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

```

## Example

```sh
$ 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