Installations
npm install @serializedowen/vue-img-watermark
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.13.0
NPM Version
6.13.0
Contributors
Unable to fetch Contributors
Languages
JavaScript (60.61%)
TypeScript (35.73%)
CSS (2.57%)
HTML (1.08%)
Developer
Download Statistics
Total Downloads
12,881
Last Day
1
Last Week
5
Last Month
380
Last Year
4,552
GitHub Statistics
19 Stars
46 Commits
3 Forks
2 Watching
2 Branches
2 Contributors
Bundle Size
4.14 kB
Minified
1.60 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.0
Package Id
@serializedowen/vue-img-watermark@1.1.0
Unpacked Size
62.11 kB
Size
21.12 kB
File Count
17
NPM Version
6.13.0
Node Version
12.13.0
Total Downloads
Cumulative downloads
Total Downloads
12,881
Last day
0%
1
Compared to previous day
Last week
-91.4%
5
Compared to previous week
Last month
-23.5%
380
Compared to previous month
Last year
123.9%
4,552
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Peer Dependencies
1
Dev Dependencies
28
vue-img-watermark :maple_leaf:
Demo
http://serializedowen.github.io/vue-img-watermark/
Installation
1npm install --save @serializedowen/vue-img-watermark
yarn add @serializedowen/vue-img-watermark
Usage
1import plugin from '@serializedowen/vue-img-watermark' 2 3Vue.use(plugin)
- put
v-watermark
on your<img>
tag to generate watermark for your image - fully customizable with configuration object.
- use
setScopedConfig()
inbeforeCreate
hook in your vue component to scope configuration to that particular vue component - use
v-watermark={{config: OptionConfig}}
to customize watermark behavior - The order of precedance will be directive value > component scoped options > global options
- use
- register your custom rendering strategy with
registerCustomStrategy()
which you can later on use with{mode: name of your strategy}
:grinning:
Known Issues:
- currently
canvas.drawImage()
has to be wrapped in asetTimeout()
call to work, reason to be identified.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/serializedowen/vue-img-watermark/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/serializedowen/vue-img-watermark/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/serializedowen/vue-img-watermark/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/serializedowen/vue-img-watermark/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/serializedowen/vue-img-watermark/npm-publish.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/serializedowen/vue-img-watermark/npm-publish.yml/master?enable=pin
- Info: 0 out of 6 GitHub-owned GitHubAction dependencies pinned
- Info: 3 out of 3 npmCommand dependencies pinned
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1
- Info: no jobLevel write permissions found
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3.6
/10
Last Scanned on 2025-01-06
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More