Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/segment-boneyard/npub
- Owner: segment-boneyard
- Created: 2014-05-15T21:16:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-15T21:21:43.000Z (over 10 years ago)
- Last Synced: 2024-10-28T14:24:40.178Z (18 days ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 11
- Watchers: 41
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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