{"id":20904580,"url":"https://github.com/stevinz/qrim","last_synced_at":"2026-05-18T22:39:21.596Z","repository":{"id":65725865,"uuid":"598236686","full_name":"stevinz/qrim","owner":"stevinz","description":"Stylized JavaScript QR Code image generator with UTF8 support.","archived":false,"fork":false,"pushed_at":"2023-02-09T00:27:40.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-05-01T16:57:20.675Z","etag":null,"topics":["canvas","es-module","es6","html5","javascript","qr-code","qr-generator","qr-maker","qrcode","stylized","utf8"],"latest_commit_sha":null,"homepage":"https://stevinz.github.io/qrim","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/stevinz.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":"2023-02-06T17:31:52.000Z","updated_at":"2023-04-03T10:09:37.000Z","dependencies_parsed_at":"2023-02-19T11:15:28.662Z","dependency_job_id":null,"html_url":"https://github.com/stevinz/qrim","commit_stats":{"total_commits":40,"total_committers":17,"mean_commits":"2.3529411764705883","dds":0.75,"last_synced_commit":"c865dc091aa6c11374ca225183d947f51c60b906"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevinz%2Fqrim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevinz%2Fqrim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevinz%2Fqrim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevinz%2Fqrim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevinz","download_url":"https://codeload.github.com/stevinz/qrim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243295010,"owners_count":20268322,"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":["canvas","es-module","es6","html5","javascript","qr-code","qr-generator","qr-maker","qrcode","stylized","utf8"],"created_at":"2024-11-18T13:17:51.700Z","updated_at":"2025-12-28T22:29:21.575Z","avatar_url":"https://github.com/stevinz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qrim\nQrim (QR Image Maker), a JavaScript library for generating QR Code images.\n\nOriginally forked from [qrcode.js](https://github.com/davidshimjs/qrcodejs). Removed legacy code, refactored to support ES modules, included UTF8 character support, and added stylization options.\n\n## Install\n\n- Option 1: Copy file `qrim.module.js`, import from file...\n\n```javascript\nimport { QRCode } from 'qrim.module.js';\n```\n\n- Option 2: Install from [npm](https://www.npmjs.com/package/qrim), import from 'qrim'...\n```\nnpm install qrim\n```\n```javascript\nimport { QRCode } from 'qrim';\n```\n\n- Option 3: Import directly from CDN...\n```javascript\nimport { QRCode } from 'https://unpkg.com/qrim/build/qrim.module.js';\n```\n\n## Usage\n```javascript\n\u003cdiv id=\"qrcode\"\u003e\u003c/div\u003e\n\n\u003cscript type='module'\u003e\n\nimport { QRCode } from 'qrim';\n\nconst el = document.getElementById(\"qrcode\");\nconst qr = new QRCode(el, \"http://www.code.com\");\n\n\u003c/script\u003e\n```\n\n## Options\nParameters object, all properties are optional\n```javascript\nconst qr = new QRCode(el, {\n    text: \"http://www.domain.com\",          // text to generate\n    size: 1024,                             // image dimensions\n    colorDark : \"#000000\",                  // block color\n    colorLight : \"#ffffff\",                 // background color\n    border: 1,                              // border size, in # of blocks\n    padding: 1,                             // padding size, in # of blocks\n    opacity: 1,                             // image opacity\n    style: QRCode.Styles.Square,            // Square | Blob | Dots\n    correctLevel: QRErrorCorrectLevel.H,    // L | M | Q | H\n});\n```\n\n## Methods\n```javascript\n// make new code from new text\nqr.makeCode(\"http://www.newcode.com\");\n\n// ...or make new code from updated parameters\nconst params = {\n    text: \"http://www.newcode.com\",\n    size: 2048,\n    opacity: 0.5,\n};\nqr.makeCode(params);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevinz%2Fqrim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevinz%2Fqrim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevinz%2Fqrim/lists"}