
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
vite-meta-plugin
Advanced tools
A lightweight and flexible PostCSS loader that simplifies plugin configuration and integration for modern frontend build tools.
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 vite-meta-plugin receives a total of 2 weekly downloads. As such, vite-meta-plugin popularity was classified as not popular.
We found that vite-meta-plugin 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.