New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

redispump

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redispump

pump stdout to redis

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

redispump

A command line tool to pump arbitrary data to a redis pubsub channel.


$ tail -f /var/log/nginx/error.log | redispump -c channelname
$ tail -f /var/log/nginx/error.log | redispump -c channelname -a localhost:6379
$ tail -f /var/log/nginx/error.log | redispump -c channelname -a localhost:6379 --mimetype text/plain

Installation


$ npm install -g redispump
# yay, you're done

CLI

-c [channelname]

--channel [channelname]

Required. The name of the channel to publish to.

-a [host:port]

--addr [host:port]

--address [host:port]

The host and port of the redis server to publish to.

-m [mimetype]

--mimetype [mimetype]

The mimetype to use when parsing incoming data.

Available mimetypes are:

  • text/plain: Publishes each line in a file to redis.
  • application/json: Publishes each top level item in JSON output to redis.

LICENSE

MIT

Keywords

redis

FAQs

Package last updated on 09 Aug 2013

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