{"id":16226244,"url":"https://github.com/ghostdevv/kjua-revived","last_synced_at":"2026-01-12T11:00:31.770Z","repository":{"id":222791760,"uuid":"757111699","full_name":"ghostdevv/kjua-revived","owner":"ghostdevv","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-19T21:09:50.000Z","size":526,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-19T17:44:42.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ghostdevv.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":"2024-02-13T20:38:28.000Z","updated_at":"2024-03-20T19:36:33.000Z","dependencies_parsed_at":"2024-02-16T09:23:34.833Z","dependency_job_id":"60e97d0e-bf1c-44b6-96e6-a254a1319099","html_url":"https://github.com/ghostdevv/kjua-revived","commit_stats":null,"previous_names":["ghostdevv/kjua-revived"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ghostdevv/kjua-revived","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostdevv%2Fkjua-revived","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostdevv%2Fkjua-revived/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostdevv%2Fkjua-revived/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostdevv%2Fkjua-revived/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghostdevv","download_url":"https://codeload.github.com/ghostdevv/kjua-revived/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostdevv%2Fkjua-revived/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-10-10T12:48:34.352Z","updated_at":"2026-01-12T11:00:31.679Z","avatar_url":"https://github.com/ghostdevv.png","language":"TypeScript","readme":"# kjua-revived\n\nKjua Revived is a updated version of the popular [kjua](https://github.com/lrsjng/kjua) QR Code library.\n\n# Examples \u0026 Usage\n\n## Bundler\n\nIf you're using a bundler like vite your first step is to install the package:\n\n```bash\nnpm install kjua-revived -D\n```\n\nNext we can consume it from a script with access to browser APIs:\n\n```ts\nimport { kjua } from 'kjua-revived';\n\nconst container = document.createElement('div');\n\nconst qr = kjua('https://willow.sh');\n\ncontainer.appendChild(qr);\ndocument.body.appendChild(container);\n```\n\nKjua will return one of the following elements: `SVGElement`, `HTMLCanvasElement`, or `HTMLImageElement` depending on your render method.\n\n## Module Script\n\nTo use in a regular browser environment you can use a module script:\n\n```html\n\u003cscript type=\"module\"\u003e\n\timport { kjua } from 'https://cdn.jsdelivr.net/npm/kjua-revived@0/+esm';\n\n\tconst container = document.createElement('div');\n\n\tconst qr = kjua('https://willow.sh');\n\n\tcontainer.appendChild(qr);\n\tdocument.body.appendChild(container);\n\u003c/script\u003e\n```\n\nTry pasting this into a html file and running it, or checkout this [jsfiddle](https://jsfiddle.net/7ohenpqb/)!\n\n# Options\n\nTBD\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostdevv%2Fkjua-revived","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostdevv%2Fkjua-revived","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostdevv%2Fkjua-revived/lists"}