{"id":26180332,"url":"https://github.com/twp0217/ngx-watermark","last_synced_at":"2026-04-27T18:33:17.616Z","repository":{"id":143973471,"uuid":"194998153","full_name":"twp0217/ngx-watermark","owner":"twp0217","description":"A watermark component for Angular (基于Angular的水印组件)","archived":false,"fork":false,"pushed_at":"2019-07-03T12:01:17.000Z","size":101,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T19:19:36.699Z","etag":null,"topics":["angular","angular7","ng","ngx","ngx-watermark","watermark"],"latest_commit_sha":null,"homepage":"https://twp0217.github.io/ngx-watermark/","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/twp0217.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-03T07:02:53.000Z","updated_at":"2020-04-21T07:16:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"81659ace-4b95-4b4a-82c6-5a05d8f688cb","html_url":"https://github.com/twp0217/ngx-watermark","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/twp0217/ngx-watermark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twp0217%2Fngx-watermark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twp0217%2Fngx-watermark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twp0217%2Fngx-watermark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twp0217%2Fngx-watermark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twp0217","download_url":"https://codeload.github.com/twp0217/ngx-watermark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twp0217%2Fngx-watermark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["angular","angular7","ng","ngx","ngx-watermark","watermark"],"created_at":"2025-03-11T21:55:29.984Z","updated_at":"2026-04-27T18:33:17.611Z","avatar_url":"https://github.com/twp0217.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-watermark\n\nA watermark component for Angular (基于Angular的水印组件)\n\n## 安装\n\n```\nnpm install @twp0217/ngx-watermark --save\n```\n\n## 使用\n- 安装依赖包：`@twp0217/ngx-watermark`\n\n```\nnpm install @twp0217/ngx-watermark --save\n```\n\n- 在module导入`NgxWatermarkModule`\n\n```\nimport { NgxWatermarkModule } from '@twp0217/ngx-watermark';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n    NgxWatermarkModule\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule { }\n```\n\n- 在模板页面使用\n\n```\n\u003cdiv watermark [watermarkOptions]=\"watermarkOptions\"\u003e\u003c/div\u003e\n```\n\n## API\n\n名称 | 说明 | 类型 | 默认值\n---|---|---|---\n`[watermarkOptions]`| 配置信息 | WatermarkOptions | - \n`[showWatermark]`| 是否显示水印 | boolean | true \n\n## 支持\n\n- 如果项目对你有帮助，请点颗星:star:，谢谢。\n- 如果你对项目有想法、问题、BUG，欢迎讨论。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwp0217%2Fngx-watermark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwp0217%2Fngx-watermark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwp0217%2Fngx-watermark/lists"}