1 line
20 KiB
Plaintext
1 line
20 KiB
Plaintext
{"_id":"uqr","_rev":"8-79d8cb0e8911230f68a62d522217e70e","name":"uqr","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.0":{"name":"uqr","version":"0.0.0","_id":"uqr@0.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-qXamx1vbPxui38Ga/4bx3pz1B9mHvUKL2S31VCsrBt9pBXn/fipOTt6sq+rhc2CAm+Y7oSPfRdwuGOd0LvD0iw==","shasum":"f7cfb90e489960e52053d314fa82e1b7520a5fed","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.0.0.tgz","fileCount":1,"unpackedSize":32,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWSAiQLY+/OGN522sQ2EmNim44u0TQt++UUdN8KqsPsQIhALyr5jgr0jW7xqTnmN3HaiBhSh0DgBLwQ+GvdGL3Z7u5"}]},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.0.0_1691150606003_0.11721718357543831"},"_hasShrinkwrap":false},"0.0.1":{"name":"uqr","type":"module","version":"0.0.1","packageManager":"pnpm@8.6.11","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.0","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.5","@types/node":"^20.4.7","bumpp":"^9.1.1","eslint":"^8.46.0","esno":"^0.17.0","lint-staged":"^13.2.3","pnpm":"^8.6.11","rimraf":"^5.0.1","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.8","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"f4b1efd55852c8b76687ccf1a6307243bf3cd4ba","_id":"uqr@0.0.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-dgxyfuQGCpUlG00KVH6VvxaWW+yPr05HlwAJotxNpIw1QphIrZ+UXW1jYvRhXqAPoVZe1w7zb61X9hjCs0g3vg==","shasum":"39baa0748d8bda9c04c2ce02943c0dbfc7fe7c12","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.0.1.tgz","fileCount":6,"unpackedSize":62919,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3YV5XYrcZpSdV6lBrszgWwfO2myRPinleaiZu6l5TAAiAxXfWKsc8WB1Y9K3gvokyXPDfPCp08aZ5RD2049RqOEw=="}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.0.1_1691162038729_0.46423256310754324"},"_hasShrinkwrap":false},"0.0.2":{"name":"uqr","type":"module","version":"0.0.2","packageManager":"pnpm@8.6.11","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.0","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.5","@types/node":"^20.4.7","bumpp":"^9.1.1","eslint":"^8.46.0","esno":"^0.17.0","lint-staged":"^13.2.3","pnpm":"^8.6.11","rimraf":"^5.0.1","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.8","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"196e19eafda8604e073f60413f398b9a815dc220","_id":"uqr@0.0.2","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-1K/h7nO7s+PONkEf/gkq9Nq+uC7ZqkXq0v4UoSUDqxqFamrfuQnM06t3+0fnlzsOTcXFTZkiVG0IQ+PTcuzGOw==","shasum":"400798b56f1f940c954bf16e8111ccd9839d2f27","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.0.2.tgz","fileCount":6,"unpackedSize":62884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEpNhgzLAMyQvKzlyrI4oOT0Pkxq1mThGAApMI7IxSrQIhAKsBpvwcclhWnGQSqmDrK+xZJWwIFPoWTlGcbOcBOjAF"}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.0.2_1691165773441_0.8329296916324869"},"_hasShrinkwrap":false},"0.0.3":{"name":"uqr","type":"module","version":"0.0.3","packageManager":"pnpm@8.6.11","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.0","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.5","@types/node":"^20.4.7","bumpp":"^9.1.1","eslint":"^8.46.0","esno":"^0.17.0","lint-staged":"^13.2.3","pnpm":"^8.6.11","rimraf":"^5.0.1","rollup":"^3.27.2","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.8","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"35112d40d4665ceaca9bb0a4832a5c41431905f2","_id":"uqr@0.0.3","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-hw1XJSBQyl5VeKNkU/TYzpAvr2MeR2jYHDJwHHpKum7P0Vf0uF4vK/iJ13cMsDK5wdYjwIdlOrjudE/rw0AU0A==","shasum":"6cf9cf04b2ff53b3a342a5c31054d1f2ed7b0f82","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.0.3.tgz","fileCount":6,"unpackedSize":61737,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVSjwU9Uvj9GoQCKxtdY5CLRcUzcco23y3xmFF9nxYlAIhAI8j8uUo/iGtjyZBgdR0emRcXhSi4K03hUo8tVGEAzFW"}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.0.3_1691166938821_0.20766793255746152"},"_hasShrinkwrap":false},"0.0.4":{"name":"uqr","type":"module","version":"0.0.4","packageManager":"pnpm@8.6.11","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.0","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.5","@types/node":"^20.4.7","bumpp":"^9.1.1","eslint":"^8.46.0","esno":"^0.17.0","lint-staged":"^13.2.3","pnpm":"^8.6.11","rimraf":"^5.0.1","rollup":"^3.27.2","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.8","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"130f4d592cc56af6d5dafefd673a785728ac71d3","_id":"uqr@0.0.4","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Yxgi1Di1X18ssNVIs+1UMJf6CHkNu8NDEz+PBKppL2p6x51+WnyXiihsF07KhY0052Kyto2RbFgpbhH3pdxCyQ==","shasum":"399993ab5c4a7fc66bb73ea1520a636269d7feb0","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.0.4.tgz","fileCount":6,"unpackedSize":62098,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFSD68Eu0hz56pVjdm4UlWqNikNM+7TC/0Od4A/F0v2FAiEAqmdEv2Kjhjn+0dSfQ742cKs7pZvWKAC6LwGJVaBmsUE="}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.0.4_1691404061993_0.8859094696954242"},"_hasShrinkwrap":false},"0.1.0":{"name":"uqr","type":"module","version":"0.1.0","packageManager":"pnpm@8.6.12","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.2","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.5","@types/node":"^20.4.9","bumpp":"^9.1.1","eslint":"^8.46.0","esno":"^0.17.0","lint-staged":"^13.2.3","pnpm":"^8.6.12","rimraf":"^5.0.1","rollup":"^3.28.0","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.9","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"01ba7fd43de88633ebce052f63599f7bbf8baa70","_id":"uqr@0.1.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-jFCDB0ptDeUbNyU52pY2TMawACz0gBNo20Aw8R58s/4Avux/ZuqP8qZh3Q9XA4wU8ztWwEWsStI+tNNEEUHdyQ==","shasum":"4b133d62b59ec6f663e94add5755db386bdf75cc","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.1.0.tgz","fileCount":6,"unpackedSize":63245,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgQ1xJ8sQMLzMg8xNCVt7bQUS42YSTHkLFAysXJYmXZwIhAOzwe0xzAQS5XjW4d9oQZ804Ck7oNXXapYSOocp0tFIA"}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.1.0_1691679932423_0.1565838627599483"},"_hasShrinkwrap":false},"0.1.1":{"name":"uqr","type":"module","version":"0.1.1","packageManager":"pnpm@8.6.12","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.2","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.5","@types/node":"^20.4.9","bumpp":"^9.1.1","eslint":"^8.46.0","esno":"^0.17.0","lint-staged":"^13.2.3","pnpm":"^8.6.12","rimraf":"^5.0.1","rollup":"^3.28.0","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^1.2.1","vite":"^4.4.9","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"91f50753a60a0ff54424650be9fcda1623c77de9","_id":"uqr@0.1.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-e/60fup+QLBkhvaJNa8fvwBT8Kjaib3VNOW52Y/CwSnobByeyEqpVN7BVofJNZEQ/hyNisxFd1Y5OYRuwJPS3Q==","shasum":"5ec63d0f2bdc9798acc9def6e9dd1634b0116443","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.1.1.tgz","fileCount":6,"unpackedSize":63537,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICw4p0LK14GUz+kZr+vB2/7jJ7S3SIXme6AHeqEADsNGAiEAhZDU3tic3Vns0vP1RW8k5Fcb5Bu6UjIAvt56hRm05Qw="}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.1.1_1692096891985_0.8810597755402836"},"_hasShrinkwrap":false},"0.1.2":{"name":"uqr","type":"module","version":"0.1.2","packageManager":"pnpm@8.6.12","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","homepage":"https://github.com/unjs/uqr#readme","repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"keywords":[],"sideEffects":false,"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp && npm publish","play":"esno play/run.ts","test":"vitest","typecheck":"tsc --noEmit"},"devDependencies":{"@antfu/eslint-config":"^0.40.2","@antfu/ni":"^0.21.5","@antfu/utils":"^0.7.6","@types/node":"^20.5.0","bumpp":"^9.1.1","eslint":"^8.47.0","esno":"^0.17.0","lint-staged":"^14.0.0","pnpm":"^8.6.12","rimraf":"^5.0.1","rollup":"^3.28.0","simple-git-hooks":"^2.9.0","typescript":"^5.1.6","unbuild":"^2.0.0-rc.0","vite":"^4.4.9","vitest":"^0.34.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"gitHead":"62432aa7fbd30ae846a210886d7f2d68a4dae445","_id":"uqr@0.1.2","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA==","shasum":"5c6cd5dcff9581f9bb35b982cb89e2c483a41d7d","tarball":"https://registry.npmjs.org/uqr/-/uqr-0.1.2.tgz","fileCount":8,"unpackedSize":71950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq1sfGMVUclFM2kScXgnHSV9iVadLHReKGnKwgSyGUXAIhAPZhLp+vZncL6Gf6Cry9/gctZ0zjeySaGAZxvXoWqz5z"}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uqr_0.1.2_1692182592120_0.8849873075815526"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-04T12:03:25.999Z","0.0.0":"2023-08-04T12:03:26.135Z","modified":"2023-08-16T10:43:12.480Z","0.0.1":"2023-08-04T15:13:58.906Z","0.0.2":"2023-08-04T16:16:13.643Z","0.0.3":"2023-08-04T16:35:38.998Z","0.0.4":"2023-08-07T10:27:42.179Z","0.1.0":"2023-08-10T15:05:32.632Z","0.1.1":"2023-08-15T10:54:52.223Z","0.1.2":"2023-08-16T10:43:12.322Z"},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"readme":"# uqr\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![License][license-src]][license-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n\n<!-- [![Codecov][codecov-src]][codecov-href] -->\n\nGenerate QR Code universally, in any runtime, to ANSI, Unicode or SVG. ES module , zero dependency, tree-shakable.\n\n## Install\n\n```bash\n# Using npm\nnpm install uqr\n\n# Using yarn\nyarn add uqr\n\n# Using pnpm\npnpm add uqr\n```\n\n## Usage\n\n```ts\nimport {\n encode,\n renderANSI,\n renderSVG,\n renderUnicode,\n renderUnicodeCompact,\n} from 'uqr'\n\nconst svg = renderSVG('Hello, World!')\n\nconst ansi = renderANSI('https://192.168.1.100:3000', {\n // Error correction level\n ecc: 'L',\n // Border width\n border: 2,\n})\n\n// display QR Code in terminal\nconsole.log(ansi)\n```\n\n## API\n\n### `encode`\n\nEncode plain text or binary data into QR Code represented by a 2D array.\n\n```ts\nimport { encode } from 'uqr'\n\nconst {\n data, // 2D array of boolean, representing the QR Code\n version, // QR Code version\n size, // size of the QR Code\n} = encode(text, options)\n```\n\n### `renderANSI`\n\nRender QR Code to [ANSI colored](https://ss64.com/nt/syntax-ansi.html) string.\n\n```ts\nimport { renderANSI } from 'uqr'\n\nconst string = renderANSI(text, options)\n\nconsole.log(string)\n```\n\n### `renderUnicode`\n\nRender QR Code to Unicode string for each pixel. By default it uses `█` and `░` to represent black and white pixels, and it can be customizable.\n\n```ts\nimport { renderUnicode } from 'uqr'\n\nconst string = renderUnicode(text, {\n blackChar: '█',\n whiteChar: '░',\n // ...other options\n})\n```\n\n### `renderUnicodeCompact`\n\nRender QR Code with two rows into one line with unicode `▀`, `▄`, `█`, ` `. It is useful when you want to display QR Code in terminal with limited height.\n\n```ts\nimport { renderUnicodeCompact } from 'uqr'\n\nconst string = renderUnicodeCompact(text, options)\n\nconsole.log(string)\n```\n\n### `renderSVG`\n\nRender QR Code to SVG string.\n\n```ts\nimport { renderSVG } from 'uqr'\n\nconst string = renderSVG(text, options)\n```\n\n## Credits\n\nQR Code generation algorithm is modified from [nayuki/QR-Code-generator](https://github.com/nayuki/QR-Code-generator/blob/master/typescript-javascript/qrcodegen.ts) by Project Nayuki.\n\nCLI renders are inspired by [qrcode-terminal](https://github.com/gtanner/qrcode-terminal).\n\n## License\n\n[MIT](./LICENSE) License\n\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/uqr?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/uqr\n[npm-downloads-src]: https://img.shields.io/npm/dm/uqr?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/uqr\n[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/uqr/main?style=flat&colorA=18181B&colorB=F0DB4F\n[codecov-href]: https://codecov.io/gh/unjs/uqr\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/uqr?style=flat&colorA=18181B&colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=uqr\n[license-src]: https://img.shields.io/github/license/unjs/uqr.svg?style=flat&colorA=18181B&colorB=F0DB4F\n[license-href]: https://github.com/unjs/uqr/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsDocs.io-reference-18181B?style=flat&colorA=18181B&colorB=F0DB4F\n[jsdocs-href]: https://www.jsdocs.io/package/uqr\n","readmeFilename":"README.md","description":"Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG.","homepage":"https://github.com/unjs/uqr#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/unjs/uqr.git"},"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"bugs":{"url":"https://github.com/unjs/uqr/issues"},"license":"MIT"} |