{"id":25994891,"url":"https://github.com/webtimo-de/ng-qrcode-svg","last_synced_at":"2026-04-16T23:04:09.493Z","repository":{"id":197180734,"uuid":"698158413","full_name":"webtimo-de/ng-qrcode-svg","owner":"webtimo-de","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-02T22:06:43.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-15T14:28:34.195Z","etag":null,"topics":["angular","angular-qr-code","angular-qrcode","ngx","qr-code","qrcode","qrcode-generator","svg","vector","vector-graphics"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/ng-qrcode-svg","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/webtimo-de.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-29T09:36:41.000Z","updated_at":"2023-09-29T12:58:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"9724cd35-640e-46da-9934-42e823ca8565","html_url":"https://github.com/webtimo-de/ng-qrcode-svg","commit_stats":null,"previous_names":["webtimo-de/ng-qrcode-svg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webtimo-de/ng-qrcode-svg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtimo-de%2Fng-qrcode-svg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtimo-de%2Fng-qrcode-svg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtimo-de%2Fng-qrcode-svg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtimo-de%2Fng-qrcode-svg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webtimo-de","download_url":"https://codeload.github.com/webtimo-de/ng-qrcode-svg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtimo-de%2Fng-qrcode-svg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"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","angular-qr-code","angular-qrcode","ngx","qr-code","qrcode","qrcode-generator","svg","vector","vector-graphics"],"created_at":"2025-03-05T15:17:31.710Z","updated_at":"2026-04-16T23:04:09.443Z","avatar_url":"https://github.com/webtimo-de.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-qrcode-svg\n\n[![npm-version](https://img.shields.io/npm/v/ng-qrcode-svg.svg?label=npm)](https://www.npmjs.com/package/ng-qrcode-svg)\n![npm](https://img.shields.io/npm/dw/ng-qrcode-svg)\n[![license](https://img.shields.io/npm/l/ng-qrcode-svg.svg)](https://github.com/webtimo-de/ng-qrcode-svg/blob/master/LICENSE)\n\n\u003e Simple QR code generator (SVG only) for Angular\n\n## Install 🌐\n\n```bash\nnpm install ng-qrcode-svg\n```\n\n\n## Demo ‍🧑‍💻\n\nYou can test it here:\n\nhttps://projects.web-timo.de/preview/ng-qrcode-svg\n\n## Usage 🔥\n\n1. Import module `QrcodeSvgModule`\n\n```ts\nimport {NgModule} from '@angular/core';\nimport {QrcodeSvgModule} from 'ng-qrcode-svg';\n\n@NgModule({\n    imports: [\n        QrcodeSvgModule // import QrcodeSvgModule\n    ]\n})\nexport class MyModule {\n}\n```\n\n2. Use the `qrcode-svg` component which will render a QR code in SVG format\n\n```html\n\u003cqrcode-svg value=\"hello world!\"\u003e\u003c/qrcode-svg\u003e\n```\n\n## Component Properties\n\n| Name                                                    | Description                                               | Default   |\n|---------------------------------------------------------|-----------------------------------------------------------|-----------|\n| @Input() value: string                                  | The value which need to be encoded                        | undefined |\n| @Input() ecl: 'low' \\| 'medium' \\| 'quartile' \\| 'high' | Error correction level                                    | medium    |\n| @Input() borderSize: number                             | The padding between the edge and the QR code (quiet zone) | 2         |\n| @Input() size: string \\| number                         | The size of the QR code SVG (css format)                  | 250px     |\n| @Input() backgroundColor: string                        | The 'path' color (background)                             | #FFFFFF   |\n| @Input() foregroundColor: string                        | The 'rect' color (foreground)                             | #000000   |\n| @Input() alt: string \\| undefined                       | HTML alt attribute                                        | undefined |\n| @Input() ariaLabel: string \\| undefined                 | HTML aria-label attribute                                 | undefined |\n\n\n---\n## @larscom/ng-qrcode-svg\n\nThis is a renewed variant of the [@larscom/ng-qrcode-svg](https://github.com/larscom/ng-qrcode-svg). This runs on\nAngular 16 and Ivy. I personally use the library, and it is therefore regularly maintained.\n\n\nYou can find more information in the original project:\n[github.com/larscom/ng-qrcode-svg](https://github.com/larscom/ng-qrcode-svg/blob/master/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebtimo-de%2Fng-qrcode-svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebtimo-de%2Fng-qrcode-svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebtimo-de%2Fng-qrcode-svg/lists"}