1.0.9 • Published 4 years ago

mini-watermark v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago