
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.
vite-console-plugin
Advanced tools
🚀 一个精美的 Vite 开发服务器启动信息插件,提供企业级的终端输出体验
package.json 读取最新版本信息npm install vite-console-plugin --save-dev
# 或
yarn add vite-console-plugin -D
# 或
pnpm add vite-console-plugin -D
// vite.config.ts
import { defineConfig } from 'vite'
import viteConsolePlugin from 'vite-console-plugin'
export default defineConfig({
plugins: [
viteConsolePlugin({
systemName: 'My App',
description: '我的应用系统',
owner: 'Your Name'
})
]
})
// vite.config.ts
import { defineConfig } from 'vite'
import viteConsolePlugin from 'vite-console-plugin'
export default defineConfig({
plugins: [
viteConsolePlugin({
systemName: 'Robot_Admin',
description: '后台管理系统',
team: 'AGILE|TEAM',
owner: 'CHENY',
warning: '请勿随意修改配置文件',
security: '禁止部署未加密的敏感数据',
autoVersion: true,
devtools: 'Vue DevTools & UnoCSS Inspector'
})
]
})
| 选项 | 类型 | 默认值 | 描述 |
|---|---|---|---|
systemName | string | 'Robot_Admin' | 系统名称 |
description | string | '后台管理系统' | 系统描述 |
team | string | 'AGILE|TEAM' | 团队名称 |
owner | string | 'CHENY' | 项目负责人 |
warning | string | '请勿随意修改配置文件' | 协作警告信息 |
security | string | '禁止部署未加密的敏感数据' | 安全警告信息 |
autoVersion | boolean | true | 是否自动读取 package.json 版本 |
devtools | string | '' | 开发工具提示,留空则不显示 |
──────────────────────────────────────────────────
🤖 Robot_Admin 后台管理系统
⚡ 服务器信息
● 本地访问 http://localhost:5173/
● 网络访问 http://192.168.1.100:5173/
● 开发工具 Vue DevTools & UnoCSS Inspector
📦 项目信息
● 版本号 v1.2.3
● 启动时间 2026-03-31 10:30:45
● Git 分支 main (与远程同步 ✅)
● 提交哈希 a1b2c3d
👥 团队信息
● 架构组 AGILE|TEAM
● 负责人 CHENY
⚠️ 重要提醒
● 请勿随意修改配置文件
● 禁止部署未加密的敏感数据
✨ 启动成功! 开发服务器已就绪
──────────────────────────────────────────────────
⚡ 配置重载 配置文件已更改,请验证修改项并告知相关干系人
插件会自动获取以下信息:
package.json 自动读取(基于 Vite root 路径解析,支持 monorepo)插件会智能屏蔽 Vite 原生的以下输出,但保留重要的开发信息:
屏蔽的信息:
➜ Local: http://localhost:xxxx/➜ Network: use --host to expose➜ Vue DevTools: Open http://...➜ UnoCSS Inspector: http://...➜ press h + enter to show help保留的重要信息:
ready in Xms - 构建完成时间built in Xms - 构建耗时server restarted - 服务器重启hmr update - HMR 更新dependencies optimized - 依赖优化完成devtools 配置项,不再硬编码开发工具信息package.json 路径解析在 monorepo 下不准确的问题execFileSync 替代 execSync,消除 shell 注入风险欢迎提交 Issue 和 Pull Request!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情
CHENY - @ycyplus
如果这个插件对你有帮助,请给个 ⭐️ 支持一下!
Made with ❤️ by CHENY
FAQs
Vite 启动台控制台美化与提示插件
We found that vite-console-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than 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.