
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
udp-transport-winston
Advanced tools
A simple winston transport for UDP in typescript.
Working with winston@3.
Can be used with splunk, logstash (ELK) or any other UDP data inputs.
using npm:
npm install winston udp-transport-winston --save
using yarn:
yarn add winston udp-transport-winston
import winston = require('winston');
import { UDPTransport } from 'udp-transport-winston';
const logger: winston.Logger = winston.createLogger({
level: 'info',
transports: [
new UDPTransport({
host: 'localhost',
port: 1234
})
]
});
or:
import winston = require('winston');
import { UDPTransport } from 'udp-transport-winston';
const logger: winston.Logger = winston.createLogger({
level: 'info'
});
logger.add(new UDPTransport({
host: 'localhost',
port: 1234
}));
class UDPTransport
constructor(options:TransportOptions)
options.host:string
UDP hostoptions.port:number
UDP portoptions.trailingLineFeed:boolean
if to make single lineoptions.trailingLineFeedChar:string
character to separate messagesoptions.format
, options.level
, options.silent
, options.handleExceptions
Made by @raz6tamir
FAQs
A winston transport for UDP in typescript
We found that udp-transport-winston demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.