{"id":20663989,"url":"https://github.com/universaldatatool/svg-mask-render","last_synced_at":"2026-06-23T06:32:27.400Z","repository":{"id":105784609,"uuid":"294188404","full_name":"UniversalDataTool/svg-mask-render","owner":"UniversalDataTool","description":"Render SVG masks to pngs consistently, without anti-aliasing or blurry edges!","archived":false,"fork":false,"pushed_at":"2020-10-28T21:57:00.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T18:40:00.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UniversalDataTool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-09T17:54:59.000Z","updated_at":"2020-12-13T02:18:59.000Z","dependencies_parsed_at":"2023-09-26T02:41:04.070Z","dependency_job_id":null,"html_url":"https://github.com/UniversalDataTool/svg-mask-render","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"543eb54d406893604be996cfcd877a176aad2674"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fsvg-mask-render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fsvg-mask-render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fsvg-mask-render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fsvg-mask-render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniversalDataTool","download_url":"https://codeload.github.com/UniversalDataTool/svg-mask-render/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242825794,"owners_count":20191451,"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":[],"created_at":"2024-11-16T19:21:28.521Z","updated_at":"2026-06-23T06:32:27.355Z","avatar_url":"https://github.com/UniversalDataTool.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SVG Render Mask | Portable SVG Mask Rendering\n\n\u003e This library is in beta, but being used by the Universal Data Tool. Contributions are appreciated!\n\nRender SVGs on node and web. Uses [node-pureimage](https://github.com/joshmarinacci/node-pureimage) and [canvg](https://github.com/canvg/canvg).\n\nExisting libraries often had problems with serverless platforms, inconsistency across machines, forced anti-aliasing or unnecessary complexity.\n\n## Usage\n\n`npm install svg-render`\n\n```javascript\nconst render = require(\"svg-render\")\n\nrender(svgText, { output: \"pngbuffer\" }).then((pngBuffer) =\u003e {\n  // fs.writeFile(\"./myImage.png\", pngBuffer)\n})\n```\n\n## TODO\n\n- [] Font Support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Fsvg-mask-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiversaldatatool%2Fsvg-mask-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Fsvg-mask-render/lists"}