
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Sexy syslogging for node.js
npm install chatty
var chatty = require('chatty');
chatty.info('Hello');
var express = require('express');
var chatty = require('chatty');
app.use(express.logger({ stream: chatty.stream() }));
app.get('/', function (req, res) {
res.send('Hello');
});
app.listen(3000);
Syslog with LOG_INFO
priority
Syslog with LOG_ERR
priority
Syslog with LOG_DEBUG
priority
Return a syslog stream wrapper with specified priority.
priority
can be either a syslog priority or any of the strings: info
, error
or debug
. (LOG_INFO
by default)
options
is merged with the default and passed into the stream constructor
Configure chatty, availiable options are: ident
, option
and facility
(syslog man page)
An extra option console
, may be set to true to log messages with console.log rather than syslog (useful for development/debugging)
Direct wrapper of syslog (you probably DON'T want this).
priority
must be a syslog.prority int
FAQs
Sexy syslogging for node.js
The npm package chatty receives a total of 3 weekly downloads. As such, chatty popularity was classified as not popular.
We found that chatty demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.