{"id":17750627,"url":"https://github.com/nuintun/jquery-qrcode","last_synced_at":"2025-04-01T09:39:23.735Z","repository":{"id":12189156,"uuid":"14792199","full_name":"nuintun/jquery-qrcode","owner":"nuintun","description":"A javascript qrcode","archived":false,"fork":false,"pushed_at":"2017-04-21T02:14:58.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-04-05T13:38:01.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nuintun.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}},"created_at":"2013-11-29T03:45:28.000Z","updated_at":"2017-04-21T02:14:59.000Z","dependencies_parsed_at":"2022-09-24T10:46:16.699Z","dependency_job_id":null,"html_url":"https://github.com/nuintun/jquery-qrcode","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fjquery-qrcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fjquery-qrcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fjquery-qrcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fjquery-qrcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuintun","download_url":"https://codeload.github.com/nuintun/jquery-qrcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620152,"owners_count":20806716,"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-26T12:22:57.067Z","updated_at":"2025-04-01T09:39:23.707Z","avatar_url":"https://github.com/nuintun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery-qrcode\n\n\u003ea javascript qrcode\n\n### Introduction\n```js\n$('#qrcode').qrcode({\n  render: 'auto', // 默认auto，可选auto、canvas、svg、vml\n  text: 'QRCode', // 编码内容\n  width: 300, // 二维码宽度，默认256\n  height: 300, // 二维码高度，默认256\n  version: -1, // 二维码版本，-1为自动，可选1-40以下数字（包括1和40），小于零等同于-1\n  ecLevel: 'H', // 纠错级别，默认H，可选H、Q、M、L（区分大小写）\n  mode: 'EightBit', // 编码模式，默认EightBit，可选EightBit、AlphaNumeric、Numeric（区分大小写）\n  background: '#ffffff', // 背景色，默认白色，可选任何颜色\n  foreground: '#000000', // 前景色，默认黑色，可选任何颜色\n  onError: function (e){\n    alert(e.message);\n  } // 编码错误回调函数\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Fjquery-qrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuintun%2Fjquery-qrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Fjquery-qrcode/lists"}