{"id":13686716,"url":"https://github.com/fibjs/fib-qr","last_synced_at":"2025-08-29T14:15:44.766Z","repository":{"id":57235131,"uuid":"79455070","full_name":"fibjs/fib-qr","owner":"fibjs","description":"QR Code Generator for fibjs","archived":false,"fork":false,"pushed_at":"2017-04-02T12:27:37.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T06:21:22.001Z","etag":null,"topics":["qrcode"],"latest_commit_sha":null,"homepage":null,"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/fibjs.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}},"created_at":"2017-01-19T13:17:38.000Z","updated_at":"2017-04-03T06:38:28.000Z","dependencies_parsed_at":"2022-08-23T15:50:47.175Z","dependency_job_id":null,"html_url":"https://github.com/fibjs/fib-qr","commit_stats":null,"previous_names":["xicilion/fib-qr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fibjs/fib-qr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibjs%2Ffib-qr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibjs%2Ffib-qr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibjs%2Ffib-qr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibjs%2Ffib-qr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fibjs","download_url":"https://codeload.github.com/fibjs/fib-qr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibjs%2Ffib-qr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272698272,"owners_count":24978423,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["qrcode"],"created_at":"2024-08-02T15:00:38.477Z","updated_at":"2025-08-29T14:15:44.713Z","avatar_url":"https://github.com/fibjs.png","language":"JavaScript","funding_links":[],"categories":["Packages"],"sub_categories":["Encode/Decode"],"readme":"## QR Code Generator for fibjs\n\n## Installation\n\n``` bash\n$ npm install fib-qr\n```\n\n## Usage\n``` JavaScript\nvar fs = require(\"fs\");\nvar gd = require(\"gd\");\nvar QRCode = require(\"fib-qr\");\n\nvar opt = {\n    width: 800,\n    height: 800\n};\nvar qrcode = new QRCode(opt);\n\nvar imgbase = qrcode.makeCode(\"http://fibjs.org/\");\nfs.writeFile(\"test.jpg\", imgbase.getData(gd.JPEG));\n```\n\ndefault options:\n``` JavaScript\nthis._htOption = {\n    width: 512,\n    height: 512,\n    typeNumber: 4,\n    colorDark: 0,\n    colorLight: 0xffffff,\n    correctLevel: QRCode.CorrectLevel.H\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffibjs%2Ffib-qr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffibjs%2Ffib-qr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffibjs%2Ffib-qr/lists"}