{"id":15854271,"url":"https://github.com/afeiship/watermark","last_synced_at":"2025-04-01T18:51:24.192Z","repository":{"id":96088465,"uuid":"64856977","full_name":"afeiship/watermark","owner":"afeiship","description":"Watermark based on sharp.","archived":false,"fork":false,"pushed_at":"2022-11-02T05:47:09.000Z","size":3469,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T12:30:33.878Z","etag":null,"topics":["cover","mark","sharp","water","watermark"],"latest_commit_sha":null,"homepage":"","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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-03T15:26:09.000Z","updated_at":"2022-11-02T05:47:14.000Z","dependencies_parsed_at":"2023-04-21T02:15:42.746Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/watermark","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.05882352941176472,"last_synced_commit":"279b480bafbf435a7933709423fda0cde616ce8b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwatermark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwatermark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwatermark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fwatermark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/watermark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246696390,"owners_count":20819449,"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":["cover","mark","sharp","water","watermark"],"created_at":"2024-10-05T19:41:21.104Z","updated_at":"2025-04-01T18:51:24.167Z","avatar_url":"https://github.com/afeiship.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# watermark\n\u003e Watermark based on sharp.\n\n## installation\n```shell\nnpm install @jswork/watermark\n```\n\n## usage\n```js\nimport watermark from '@jswork/watermark';\n\nwatermark({\n  src: 'https://pic.rmb.bdstatic.com/7f7a8d7b247d3aa430010f10a5765239.jpeg',\n  cover: './__tests__/beta_s.png',  // local.png/remote.png/remote.svg\n  gravity: 'northwest'\n}).then((res) =\u003e {\n  // res: buffer\n});\n```\n\n## gravity\n![](./docs/GravityEnum.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fwatermark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fwatermark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fwatermark/lists"}