
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@pgprojectx/alchemy-koa-logging
Advanced tools
Provides a uniform logging middleware for [koa](http://koajs.com). Built on [bunyan](https://github.com/trentm/node-bunyan).
Provides a uniform logging middleware for koa. Built on bunyan.
yarn add @pgprojectx/alchemy-koa-logging
or
npm install --save @pgprojectx/alchemy-koa-logging
alchemy-koa-logging requires a base bunyan instance to be provided.
Simple usage:
const Koa = require('koa');
const koaLogger = require('@pgprojectx/alchemy-koa-logging');
const bunyan = require('bunyan');
const logger = bunyan.createLogger({ name: 'my-service' });
const app = new Koa();
app.use(koaLogger(logger));
This will accomplish a few things:
ctx
at ctx.logger
.ctx.state.request_id
.Example output:
FAQs
Provides a uniform logging middleware for [koa](http://koajs.com). Built on [bunyan](https://github.com/trentm/node-bunyan).
The npm package @pgprojectx/alchemy-koa-logging receives a total of 0 weekly downloads. As such, @pgprojectx/alchemy-koa-logging popularity was classified as not popular.
We found that @pgprojectx/alchemy-koa-logging demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.