{"id":15357193,"url":"https://github.com/gera2ld/qrcanvas-vue","last_synced_at":"2025-08-22T03:32:26.216Z","repository":{"id":50477780,"uuid":"67136571","full_name":"gera2ld/qrcanvas-vue","owner":"gera2ld","description":"A QRCode component for use with Vue.js","archived":false,"fork":false,"pushed_at":"2023-02-06T15:02:25.000Z","size":70,"stargazers_count":72,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-10T14:51:49.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gera2ld.github.io/qrcanvas-vue/","language":"JavaScript","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/gera2ld.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2016-09-01T14:05:38.000Z","updated_at":"2024-07-09T09:49:38.000Z","dependencies_parsed_at":"2024-06-18T18:42:20.327Z","dependency_job_id":null,"html_url":"https://github.com/gera2ld/qrcanvas-vue","commit_stats":{"total_commits":62,"total_committers":2,"mean_commits":31.0,"dds":"0.22580645161290325","last_synced_commit":"5bd01cdc8d4fddd8d9eb5328444d85f0cebb6d0f"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fqrcanvas-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fqrcanvas-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fqrcanvas-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fqrcanvas-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gera2ld","download_url":"https://codeload.github.com/gera2ld/qrcanvas-vue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230245247,"owners_count":18196135,"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-10-01T12:33:51.930Z","updated_at":"2024-12-20T08:09:03.822Z","avatar_url":"https://github.com/gera2ld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qrcanvas-vue\n\n![NPM](https://img.shields.io/npm/v/qrcanvas-vue.svg)\n![License](https://img.shields.io/npm/l/qrcanvas-vue.svg)\n![Downloads](https://img.shields.io/npm/dt/qrcanvas-vue.svg)\n\nThis a QRCode component for use with Vue.js, based on [qrcanvas](https://github.com/gera2ld/qrcanvas).\n\n## Usage\n\n**Note:** `qrcanvas-vue@2` works with `vue@2`, `qrcanvas-vue@3` works with `vue@3`.\n\n1. With bundlers:\n\n    ``` sh\n    # Installation\n    $ npm i vue@next qrcanvas-vue\n    ```\n\n2. In browser:\n\n    ```html\n    \u003cscript src=\"https://cdn.jsdelivr.net/combine/npm/qrcanvas@3,npm/qrcanvas-vue@3\"\u003e\u003c/script\u003e\n    \u003cdiv id=\"root\"\u003e\n      \u003cqr-canvas :options=\"options\" @updated=\"onUpdated\"\u003e\u003c/qr-canvas\u003e\n    \u003c/div\u003e\n    ```\n\nSee [examples](https://gera2ld.github.io/qrcanvas-vue/v3/) for more usage.\n\n\n### Props\n\n* `options` is passed to [qrcanvas](https://github.com/gera2ld/qrcanvas). For more details, see [qrcanvas docs](https://github.com/gera2ld/qrcanvas/wiki).\n\n* Be sure to pass a new `options` object if data is updated:\n\n    ```js\n    this.options = Object.assign({}, this.options, {\n      data: 'new data',\n    });\n    ```\n\n### Events\n\n- `beforeUpdate`\n\n    Fired before the canvas is updated. The only parameter is the canvas.\n\n- `updated`\n\n    Fired after the canvas is updated. The only parameter is the canvas.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fqrcanvas-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgera2ld%2Fqrcanvas-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fqrcanvas-vue/lists"}