1.0.9 • Published 2 years ago

mini-watermark v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

mini-watermark

A mini watermark tool

install

npm install --save mini-watermark

Usage

import watermark from 'mini-watermark'

watermark('text content', {
  selector: '.watermark',
  fontSize: 14, // default
  fontFamily: 'sans-serif', // default
  rotate: -20 * Math.PI / 180, // default
  color: 'rgba(101, 101, 101, 0.12)',
  customized: false // default 是否自定义样式
})
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago