🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@abeai/pino-websocket

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abeai/pino-websocket

A pino 'transport' for writing to a websocket

0.2.1
latest
Source
npm
Version published
Weekly downloads
977
-19.52%
Maintainers
2
Weekly downloads
 
Created
Source

pino-websocket

This module provides a "transport" for [pino][pino] that simply forwards messages to a websocket socket server. The module can echo the received logs or work silently.

You should install pino-websocket globally for ease of use:

$ npm install -g @abeai/pino-websocket

Usage

Given an application foo that logs via [pino][pino], and a webscoket server that collects logs on port 5000 on IP 10.10.10.5, you would use pino-websocket like so:

$ node foo | pino-websocket -a 10.10.10.5 -p 5000

FAQs

Package last updated on 04 Nov 2021

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