{"id":19783745,"url":"https://github.com/zhensherlock/watermark-js-plus","last_synced_at":"2025-05-14T20:02:24.398Z","repository":{"id":64319237,"uuid":"554665672","full_name":"zhensherlock/watermark-js-plus","owner":"zhensherlock","description":"watermark for the browser","archived":false,"fork":false,"pushed_at":"2025-04-13T10:06:45.000Z","size":47877,"stargazers_count":464,"open_issues_count":11,"forks_count":30,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-13T13:59:47.374Z","etag":null,"topics":["canvas","javascript","typescript","watermark"],"latest_commit_sha":null,"homepage":"https://zhensherlock.github.io/watermark-js-plus/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhensherlock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":["https://zhensherlock.github.io/img/微信打赏.jpg"]}},"created_at":"2022-10-20T07:22:40.000Z","updated_at":"2025-04-13T01:21:56.000Z","dependencies_parsed_at":"2023-10-21T17:28:59.334Z","dependency_job_id":"59288f2d-8a89-498b-8f21-2e02974c1e3b","html_url":"https://github.com/zhensherlock/watermark-js-plus","commit_stats":{"total_commits":1224,"total_committers":8,"mean_commits":153.0,"dds":0.4125816993464052,"last_synced_commit":"220bef4e720c63b327917e668ff67068e2240f1b"},"previous_names":[],"tags_count":155,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhensherlock%2Fwatermark-js-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhensherlock%2Fwatermark-js-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhensherlock%2Fwatermark-js-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhensherlock%2Fwatermark-js-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhensherlock","download_url":"https://codeload.github.com/zhensherlock/watermark-js-plus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724585,"owners_count":21151560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","javascript","typescript","watermark"],"created_at":"2024-11-12T06:09:08.258Z","updated_at":"2025-04-13T14:00:25.838Z","avatar_url":"https://github.com/zhensherlock.png","language":"TypeScript","funding_links":["https://zhensherlock.github.io/img/微信打赏.jpg"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://zhensherlock.github.io/watermark-js-plus/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg width=\"300\" src=\"https://zhensherlock.github.io/watermark-js-plus/hero-image.png\" alt=\"watermark logo\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![][npm-release-shield]][npm-release-link]\n[![][npm-downloads-shield]][npm-downloads-link]\n[![][package-size-shield]][package-size-link]\n[![][codecov-shield]][codecov-link] \u003cbr/\u003e\n[![][github-release-date-shield]][github-release-date-link]\n[![][github-action-build-shield]][github-action-build-link]\n[![][github-license-shield]][github-license-link]\n[![][gitter-shield]][gitter-link]\n\n[//]: # (  \u003ca href=\"https://npmjs.com/package/watermark-js-plus\"\u003e\u003cimg src=\"https://badgen.net/npm/v/watermark-js-plus\" alt=\"npm package\"\u003e\u003c/a\u003e)\n[//]: # (  \u003cimg alt=\"GitHub Workflow Status\" src=\"https://img.shields.io/github/actions/workflow/status/zhensherlock/watermark-js-plus/deploy.yml?branch=main\"\u003e)\n[//]: # (  \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/watermark-js-plus\"\u003e)\n[//]: # (  \u003cimg alt=\"npm download week\" src=\"https://img.shields.io/npm/dw/watermark-js-plus\"\u003e)\n[//]: # (  \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/zhensherlock/watermark-js-plus\"\u003e)\n[//]: # (  \u003ca href=\"https://gitter.im/china-hy/watermark-js-plus?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\"\u003e\u003cimg src=\"https://badges.gitter.im/china-hy/watermark-js-plus.svg\" alt=\"Join the chat at https://gitter.im/china-hy/watermark-js-plus\"\u003e\u003c/a\u003e)\n\n\u003c/div\u003e\n\n# Watermark\n\n\u003e This is a *canvas-based* watermark for browser.\n\n- 🛠️ Rich Features\n- 🔑 Fully Typed APIs\n- 📦️ Extremely light\n\nWatermark works with both Vue 2 , Vue 3 And React.\n\n# Translations\n\n* [中文文档](README_zh.md)\n\n## Installing\n\n```bash\n# or pnpm or yarn\nnpm install watermark-js-plus\n```\n\n## Usage\n\n[Demo Collection](https://github.com/zhensherlock/watermark-js-plus/discussions/590)\n\n### Watermark\n\n```ts\nimport { Watermark } from 'watermark-js-plus'\n\nconst watermark = new Watermark({\n  content: 'hello my watermark',\n  width: 200,\n  height: 200,\n  onSuccess: () =\u003e {\n    // success callback\n  }\n})\n\nwatermark.create()\n```\n\n### Blind Watermark\n\n```ts\nimport { BlindWatermark } from 'watermark-js-plus'\n\nconst watermark = new BlindWatermark({\n  content: 'hello my watermark',\n  width: 200,\n  height: 200,\n  onSuccess: () =\u003e {\n    // success callback\n  }\n})\n\nwatermark.create()\n```\n\n### Decode Blind Watermark\n\n```js\nimport { BlindWatermark } from 'watermark-js-plus'\n\nBlindWatermark.decode({\n  url: uploadFile.url, // image url\n  onSuccess: (imageBase64) =\u003e {\n    // success callback\n  }\n})\n```\n\n## Documentation\n\nTo learn more, check [its documentation](https://zhensherlock.github.io/watermark-js-plus).\n\n## Maintainers\n\n[@zhensherlock](https://github.com/zhensherlock).\n\n## Contributing\n\nFeel free to dive in! [Open an issue](https://github.com/zhensherlock/watermark-js-plus/issues/new/choose) or submit PRs.\n\nStandard Readme follows the [Contributor Covenant](http://contributor-covenant.org/version/1/3/0/) Code of Conduct.\n\n### Contributors\n\nThis project exists thanks to all the people who contribute.\n\n\u003ca href=\"https://github.com/zhensherlock/watermark-js-plus/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=zhensherlock/watermark-js-plus\" /\u003e\n\u003c/a\u003e\n\n## License\n\n[MIT](LICENSE) © MichaelSun\n\n[npm-release-link]: https://www.npmjs.com/package/watermark-js-plus\n[npm-release-shield]: https://img.shields.io/npm/v/watermark-js-plus?color=1677FF\u0026labelColor=black\u0026logo=npm\u0026logoColor=white\u0026style=flat-square\n[npm-downloads-link]: https://www.npmjs.com/package/watermark-js-plus\n[npm-downloads-shield]: https://img.shields.io/npm/dw/watermark-js-plus.svg?labelColor=black\u0026style=flat-square\u0026color=1677FF\n[package-size-link]: https://github.com/zhensherlock/watermark-js-plus\n[package-size-shield]: https://img.shields.io/bundlephobia/minzip/watermark-js-plus?color=1677FF\u0026label=build\u0026labelColor=black\u0026logo=rollupdotjs\u0026logoColor=white\u0026style=flat-square\n[codecov-link]: https://codecov.io/gh/zhensherlock/watermark-js-plus\n[codecov-shield]: https://img.shields.io/codecov/c/github/zhensherlock/watermark-js-plus?color=1677FF\u0026labelColor=black\u0026style=flat-square\u0026logo=codecov\u0026logoColor=white\n[github-release-date-link]: https://github.com/zhensherlock/watermark-js-plus/releases\n[github-release-date-shield]: https://img.shields.io/github/release-date/zhensherlock/watermark-js-plus?color=1677FF\u0026labelColor=black\u0026style=flat-square\n[github-action-build-link]: https://github.com/zhensherlock/watermark-js-plus/actions/workflows/deploy.yml\n[github-action-build-shield]: https://img.shields.io/github/actions/workflow/status/zhensherlock/watermark-js-plus/deploy.yml?branch=main\u0026color=1677FF\u0026label=build\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-license-link]: https://github.com/zhensherlock/watermark-js-plus/blob/main/LICENSE\n[github-license-shield]: https://img.shields.io/github/license/zhensherlock/watermark-js-plus?color=1677FF\u0026labelColor=black\u0026style=flat-square\n[gitter-link]: https://gitter.im/china-hy/watermark-js-plus?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n[gitter-shield]: https://img.shields.io/gitter/room/china-hy/watermark-js-plus?color=1677FF\u0026labelColor=black\u0026logo=gitter\u0026logoColor=white\u0026style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhensherlock%2Fwatermark-js-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhensherlock%2Fwatermark-js-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhensherlock%2Fwatermark-js-plus/lists"}