
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.
@develop-plugins/water-mark
Advanced tools
给页面的某个区域加上水印。
# npm
npm i @develop-plugins/water-mark
# yarn
yarn add @develop-plugins/water-mark
# pnpm
pnpm add @develop-plugins/water-mark
import { WaterMarkInstall } from '@develop-plugins/water-mark';
app.use(WaterMarkInstall);
<template>
<WaterMark text="hello world">
<div style="width: 100%; height: 100vh"></div>
</WaterMark>
</template>
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| width | 水印的宽度,content 的默认值为自身的宽度 | number | - | |
| height | 水印的高度,content 的默认值为自身的高度 | number | - | |
| text | 水印文字内容,如果设置了image则不会显示text | string | string[] | watermark | |
| rotate | 水印绘制时,旋转的角度,单位 ° | number | -20 | |
| gap | 水印之间的间距 | number | 100 | |
| zIndex | 追加的水印元素的 z-index | number | 9999 | |
| font | 文字样式 | Font | Font | |
| image | 图片源,建议导出 2 倍或 3 倍图,优先级高, |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| fontSize | 字体大小 | number | 16 | |
| fontFamily | 字体类型 | string | serif | |
| color | 字体颜色 | string | rgba(0, 0, 0, 0.3) | |
| textAlign | 字体对齐方式 | string | left | center | right | start | end | center |
| 名称 | 说明 |
|---|---|
| — | 默认插槽 |
FAQs
We found that @develop-plugins/water-mark 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.