Nonconformist Propaganda Machine

    @pansy/watermark
    TypeScript icon, indicating that this package has built-in type declarations

    2.2.1 • Public • Published

    @pansy/watermark

    🏗 安装

    # npm install
    $ npm install @pansy/watermark --save
    
    # yarn install
    $ yarn add @pansy/watermark

    🔨 使用

    import { Watermark } from '@pansy/watermark';
    
    const watermark = new Watermark({ ... });
    
    // 如果需要修改水印参数,请调用
    watermark.update({ ... });
    
    // 隐藏水印
    watermark.hide();
    
    // 显示水印
    watermark.hide();
    
    // 销毁水印
    watermark.destroy();

    Keywords

    none

    Install

    npm i @pansy/watermark

    DownloadsWeekly Downloads

    199

    Version

    2.2.1

    License

    MIT

    Unpacked Size

    74.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • wangxingkang