
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lambda-lite-logger
Advanced tools
📝 Yet another logger for Lambda
I just want to pretty print any nest object param from log with some color..., nothing fancy.
npm i lambda-lite-logger
import { Logger } from "lambda--lite-logger";
const logger = new Logger();
// Pretty print nest object with 2 space by default
// 2021-1-6 19:31:6 [INFO] some data {
// a: [
// {
// b: 1,
// c: {
// d: 2
// }
// }
// ]
// }
logger.info("some data", { a: [{ b: 1, c: { d: 2 } }] });
const logger = new Logger({
prettyPrint: false, // turn off prettyPrint, defaults to true
});
logger.debug("Only log process.env.NODE_ENV is not production"); // [DEBUG] ...
logger.warn("Warning"); // [WARN] warning
logger.error("Oh no"); // [ERROR] Oh no
logger.log("info", "low level API, just equal logger.info"); // [INFO] ...
FAQs
📝 Yet another logger
We found that lambda-lite-logger 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.