
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.
dev-filterjs is a robust and extensible filtering utility designed for JavaScript and Vite-based development environments. It offers flexible filtering mechanisms for data streams and log pipelines, and integrates easily with tools like Bunyan and Winston.
Using npm:
npm install dev-filterjs --save-dev
Using Yarn:
yarn add dev-filterjs -D
Integrate it in your vite.config.js
or vite.config.ts
:
import { defineConfig } from "vite";
import devFilterJS from "dev-filterjs";
export default defineConfig({
plugins: [
devFilterJS({
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/filter output format |
output | 'console' | 'file' | 'console' | Output destination |
outputPath | string | undefined | Path to file output if output is 'file' |
includeTimestamp | boolean | true | Whether to include timestamps |
[dev-filterjs] [INFO] Server started on http://localhost:5173
[dev-filterjs] [DEBUG] Filter applied to 25 items
{
"level": "info",
"timestamp": "2025-06-07T14:32:00.000Z",
"message": "Filter applied to 25 items"
}
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 3 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.