
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
dev-filterjs
Advanced tools
A versatile and developer-friendly JavaScript utility for filtering arrays, objects, and nested data structures with custom, chainable logic.
js-log-print is a robust and extensible logging utility for Vite and JavaScript projects. It supports structured logging formats and integrates seamlessly with popular tools like Bunyan and Winston.
Using npm:
npm install js-log-print --save-dev
Using Yarn:
yarn add js-log-print -D
Add the plugin to your vite.config.js
or vite.config.ts
:
import { defineConfig } from "vite";
import jsLogPrint from "js-log-print";
export default defineConfig({
plugins: [
jsLogPrint({
logLevel: "info",
format: "json",
output: "console",
}),
],
});
Option | Type | Default | Description |
---|---|---|---|
logLevel | 'info' | 'warn' | 'error' | 'debug' | 'info' | Minimum log level to output |
format | 'json' | 'pretty' | 'bunyan' | 'pretty' | Log message format |
output | 'console' | 'file' | 'console' | Output destination |
outputPath | string | undefined | Path to log file if output is 'file' |
includeTimestamp | boolean | true | Whether to include timestamps in logs |
[js-log-print] [INFO] Server started on http://localhost:5173
[js-log-print] [DEBUG] Resolved config: ...
{
"level": "info",
"timestamp": "2025-06-07T14:32:00.000Z",
"message": "Server started on http://localhost:5173"
}
MIT © [dmytryi]
Contributions are welcome! Feel free to open issues or pull requests.
FAQs
security holding package
The npm package dev-filterjs receives a total of 1 weekly downloads. As such, dev-filterjs popularity was classified as not popular.
We found that dev-filterjs 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.