{"_id":"@castlenine/svelte-qrcode","_rev":"10-111bd38c98769f4307ebe43c248dac1b","name":"@castlenine/svelte-qrcode","dist-tags":{"latest":"2.3.0"},"versions":{"0.0.1":{"name":"@castlenine/svelte-qrcode","version":"0.0.1","keywords":["2fa","authentication","multifactor","qr","qrcode","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"name":"castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@0.0.1","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"67da82f0a102df3795eefafb760666f532ccbb6f","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-0.0.1.tgz","fileCount":9,"integrity":"sha512-Q+oVvJDXdQG7oDqVUTtFtbDfrEyhoCDwIWmh3rInIViw9580j/x+VPDLh+nLbdAFw4JH2t0SYq5RNXk14WrNtQ==","signatures":[{"sig":"MEYCIQCg2Llcawd3YPi8XtWgdKnnkGSb93gFdQ+/Uz2IrglnXAIhAKId+hXNAQpGLeErbsPIUdex35Rl7quZt7x/DCaUdxIP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50258},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"6d0dc2a4f7fdbd8bd0161b7c82661b9acd36e508","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"9.8.1","description":"QR Code generator component for Svelte & SvelteKit","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.9","tslib":"^2.6.2","eslint":"^8.48.0","svelte":"^4.2.0","publint":"^0.2.2","prettier":"^3.0.3","stylelint":"^15.10.3","typescript":"^5.2.2","svelte-check":"^3.5.1","@sveltejs/kit":"^1.24.1","stylelint-scss":"^5.1.0","prettier-eslint":"^15.0.1","stylelint-order":"^6.0.3","@sveltejs/package":"^2.2.2","svelte-preprocess":"^5.0.4","eslint-plugin-html":"^7.1.0","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-svelte":"^2.33.0","svelte-eslint-parser":"^0.33.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.0.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^6.6.0","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^6.6.0","eslint-import-resolver-typescript":"^3.6.0","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_0.0.1_1693904338458_0.7020777131910079","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@castlenine/svelte-qrcode","version":"1.0.0","keywords":["2fa","authentication","multifactor","qr","qrcode","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"name":"castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@1.0.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"f3224e9498635984276b7aa9c474ad5d6c63534e","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-1.0.0.tgz","fileCount":9,"integrity":"sha512-JSx8WYbWU0mm+3Qdtv6IOY6VgHmmxO1OuGo5kHSEPDwUHLx5EcZZdikjBFwHlBXviuweycC+q8fFrGe5DMaXrw==","signatures":[{"sig":"MEQCIBMM7bNsOjthyBVNDfBxNKOJXDGSNBM5k7FjYjBXnypwAiALbcGXfszKMpSTSesXmJ9qlDDs21tRbcydjNHG1Q6jaA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50258},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"26bbe4b07383e0682cc663defb49214e0a6ad26c","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"9.8.1","description":"QR Code generator component for Svelte & SvelteKit","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.9","tslib":"^2.6.2","eslint":"^8.48.0","svelte":"^4.2.0","publint":"^0.2.2","prettier":"^3.0.3","stylelint":"^15.10.3","typescript":"^5.2.2","svelte-check":"^3.5.1","@sveltejs/kit":"^1.24.1","stylelint-scss":"^5.1.0","prettier-eslint":"^15.0.1","stylelint-order":"^6.0.3","@sveltejs/package":"^2.2.2","svelte-preprocess":"^5.0.4","eslint-plugin-html":"^7.1.0","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-svelte":"^2.33.0","svelte-eslint-parser":"^0.33.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.0.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^6.6.0","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^6.6.0","eslint-import-resolver-typescript":"^3.6.0","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_1.0.0_1693905064914_0.34953311030949785","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@castlenine/svelte-qrcode","version":"1.1.0","keywords":["2fa","authentication","multifactor","qr","qrcode","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"name":"castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@1.1.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"012a0578894d56184afc7298f35ea2abe4559f13","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-1.1.0.tgz","fileCount":9,"integrity":"sha512-NHjq6PLusq+LCPLTcQi4nZKSQpuYlXV7t1vHX2RwPgEel+vyScZJHFeoAO3rXc4vs2YM3EDKkpfqw3ElNJ0hsQ==","signatures":[{"sig":"MEYCIQCcxBmFcb1fenjsPV0hsPAY0iuByFUXCLq3lJBURcHRIwIhAOhvbQo4mh5PBqNcIenoxNGKV1ycuxTi91k5/XrTd4IY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50258},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"5eae834eaa6576a4e11933cc26215c51ec9ebede","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"9.8.1","description":"QR Code generator component for Svelte & SvelteKit","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.9","tslib":"^2.6.2","eslint":"^8.49.0","svelte":"^4.2.0","publint":"^0.2.2","prettier":"^3.0.3","stylelint":"^15.10.3","typescript":"^5.2.2","svelte-check":"^3.5.1","@sveltejs/kit":"^1.24.1","stylelint-scss":"^5.1.0","prettier-eslint":"^15.0.1","stylelint-order":"^6.0.3","@sveltejs/package":"^2.2.2","svelte-preprocess":"^5.0.4","eslint-plugin-html":"^7.1.0","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-svelte":"^2.33.1","svelte-eslint-parser":"^0.33.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.0.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^6.6.0","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^6.6.0","eslint-import-resolver-typescript":"^3.6.0","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_1.1.0_1694280524553_0.5049908536800474","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@castlenine/svelte-qrcode","version":"1.2.0","keywords":["2fa","authentication","multifactor","qr","qrcode","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"name":"castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@1.2.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"22a041d00acb94aaa488562ca876e21d9a25644b","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-1.2.0.tgz","fileCount":13,"integrity":"sha512-nO1pyTvPwUen5B3egULNH2hFqDzarxOwUVulCVHDKBRrZvE9ntakpBgeRPBNgGXaT62FE3hliX0rZUEw3hFveA==","signatures":[{"sig":"MEQCIATd97LOMGUtEf71mUN03/hTXoBgeQgXXoLRPhQ0G1qOAiAQKFnoRAe8F6JKosTbxTLvq8CTmVy/kVTIS66In3Jdmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62975},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"c7778e51898648d19bd9a53c1a30bd45ab771226","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"10.5.0","description":"QR Code generator component for Svelte & SvelteKit","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.3","tslib":"^2.6.2","eslint":"^8.57.0","svelte":"^4.2.15","publint":"^0.2.7","prettier":"^3.2.5","stylelint":"^15.11.0","typescript":"^5.4.5","svelte-check":"^3.7.0","@sveltejs/kit":"^1.30.4","stylelint-scss":"^5.3.2","prettier-eslint":"^16.3.0","stylelint-order":"^6.0.4","@sveltejs/package":"^2.3.1","svelte-preprocess":"^5.1.4","eslint-plugin-html":"^8.1.1","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^8.0.1","eslint-plugin-import":"^2.29.1","eslint-plugin-svelte":"^2.38.0","svelte-eslint-parser":"^0.35.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.1","eslint-config-prettier":"^9.1.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.2.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^7.7.1","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^7.7.1","eslint-import-resolver-typescript":"^3.6.1","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_1.2.0_1714160565667_0.12782591307919722","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@castlenine/svelte-qrcode","version":"1.3.0","keywords":["2fa","authentication","multifactor","qr","qrcode","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"name":"castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@1.3.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"f4104a0dba2f5f11d599ab81195836d33fce8ddd","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-1.3.0.tgz","fileCount":13,"integrity":"sha512-KjUo4ubcYRKhHh1uYxJ6kKdyAqAhPecW/G4uI4adP+fAaTkWMBQxHyXuu6zyZdgdC9xnbOpm1vfQsW4ijuokWw==","signatures":[{"sig":"MEUCIBM7nSoMs+uvW/gKm487D0W6gwep7W2pAFpTP+NePlrOAiEA6DmHcqF4wZgJ7k2zwPUdVpNmFknvRqukC+rHosl6Ge8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65513},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"95450fc9ebd12bb2199e34b7794baff81b363112","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"10.5.0","description":"QR Code generator component for Svelte & SvelteKit","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.3","tslib":"^2.6.2","eslint":"^8.57.0","svelte":"^4.2.15","publint":"^0.2.7","prettier":"^3.2.5","stylelint":"^15.11.0","typescript":"^5.4.5","svelte-check":"^3.7.0","@sveltejs/kit":"^1.30.4","stylelint-scss":"^5.3.2","prettier-eslint":"^16.3.0","stylelint-order":"^6.0.4","@sveltejs/package":"^2.3.1","svelte-preprocess":"^5.1.4","eslint-plugin-html":"^8.1.1","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^8.0.1","eslint-plugin-import":"^2.29.1","eslint-plugin-svelte":"^2.38.0","svelte-eslint-parser":"^0.35.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.1","eslint-config-prettier":"^9.1.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.2.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^7.7.1","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^7.7.1","eslint-import-resolver-typescript":"^3.6.1","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_1.3.0_1714241887799_0.47527164746765505","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@castlenine/svelte-qrcode","version":"2.0.0","keywords":["2fa","authentication","base64","code","component","logo","multifactor","multi-factor","qr","qrcode","qr-code","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"url":"https://github.com/Castlenine","name":"Alexandre Castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@2.0.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"320ff0a558b0b0d10bef0a768446a9f0ba005bde","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-2.0.0.tgz","fileCount":12,"integrity":"sha512-hop0tFCNHKsaDnyYh2o7c0Xo4BcFQYCPy2CeJxjb6txLPtSWevNKU0fZ1Xl0byk/gL3+26gFajjN6vTkOZhgyQ==","signatures":[{"sig":"MEQCICdm9V5n7TntenIZanBTSNzLDvtTzC2jLMBrk+MZFqKdAiAvww3BwOiDxmb1/5Al4xII+pLsybaUOS3MAApDQ5OwNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81433},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"87864725aef71d676bbdc5f8a771e2ef4105258f","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"10.5.0","description":"QR Code generator component for Svelte & SvelteKit, with no dependencies","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.3","tslib":"^2.6.2","eslint":"^8.57.0","svelte":"^4.2.15","publint":"^0.2.7","prettier":"^3.2.5","stylelint":"^15.11.0","typescript":"^5.4.5","svelte-check":"^3.7.0","@sveltejs/kit":"^1.30.4","stylelint-scss":"^5.3.2","prettier-eslint":"^16.3.0","stylelint-order":"^6.0.4","@sveltejs/package":"^2.3.1","svelte-preprocess":"^5.1.4","eslint-plugin-html":"^8.1.1","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^8.0.1","eslint-plugin-import":"^2.29.1","eslint-plugin-svelte":"^2.38.0","svelte-eslint-parser":"^0.35.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.1","eslint-config-prettier":"^9.1.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.2.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^7.8.0","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^7.8.0","eslint-import-resolver-typescript":"^3.6.1","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_2.0.0_1714422562676_0.7220154986388039","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@castlenine/svelte-qrcode","version":"2.1.0","keywords":["2fa","authentication","base64","code","component","logo","multifactor","multi-factor","qr","qrcode","qr-code","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"url":"https://github.com/Castlenine","name":"Alexandre Castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@2.1.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"7b21bbcde853ba682bef83c511a242a9f4641c53","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-2.1.0.tgz","fileCount":12,"integrity":"sha512-w36qWv/oRwo9vo0N7tyQh+m9yjP8KnS+vAKwIwZPc4ApQM9wHgaEATd0VESc/wtW8qllKO2pu5+SxFI3WShRVw==","signatures":[{"sig":"MEUCIAGvncb2B/PuEoF8YLfCCJ3QEUox6STBV/+8VCRLfr+1AiEA9jVBtAz9RVBvy03eccV73mh93DjKP4jQrqLivx3jK1M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84977},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"808a66975a75b22fef32cd837a90c58fbff68beb","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"9.8.0","description":"QR Code generator component for Svelte & SvelteKit, with no dependencies","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.3","tslib":"^2.6.2","eslint":"^8.57.0","svelte":"^4.2.15","publint":"^0.2.7","prettier":"^3.2.5","stylelint":"^15.11.0","typescript":"^5.4.5","svelte-check":"^3.7.0","@sveltejs/kit":"^1.30.4","stylelint-scss":"^5.3.2","prettier-eslint":"^16.3.0","stylelint-order":"^6.0.4","@sveltejs/package":"^2.3.1","svelte-preprocess":"^5.1.4","eslint-plugin-html":"^8.1.1","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^8.0.1","eslint-plugin-import":"^2.29.1","eslint-plugin-svelte":"^2.38.0","svelte-eslint-parser":"^0.35.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.1","eslint-config-prettier":"^9.1.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.2.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^7.8.0","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^7.8.0","eslint-import-resolver-typescript":"^3.6.1","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_2.1.0_1714470034062_0.7399137141058765","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@castlenine/svelte-qrcode","version":"2.2.0","keywords":["2fa","authentication","base64","code","component","logo","multifactor","multi-factor","qr","qrcode","qr-code","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"author":{"url":"https://github.com/Castlenine","name":"Alexandre Castlenine"},"license":"MIT","_id":"@castlenine/svelte-qrcode@2.2.0","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"homepage":"https://github.com/castlenine/svelte-qrcode#readme","bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"dist":{"shasum":"792cc1efa7c3555d47f4f0f9e23f3b89eab32381","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-2.2.0.tgz","fileCount":12,"integrity":"sha512-0PbzjH86AQOPFomHD7FDxSzWlQC8MOfyvOfHS0kmRXNA2nz5+oOL9kjpE+7IywejCGIXFN3sZrBpvx9i6xsdeA==","signatures":[{"sig":"MEQCIFl2LGy6jcfJDSIKCEblQdsnFKDfoq2KXCRMHtydP083AiAqNsTOW5ZBBwb6jiWkpd9/sniWDBm82IHlJ6ARzKESJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87147},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"gitHead":"d94386ea7fef218916cc1702e6098c79a92a2f0a","scripts":{"dev":"vite dev","build":"vite build && npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","eslint":"eslint --ignore-path ./.eslintignore .","package":"svelte-kit sync && svelte-package && publint","prettier":"prettier --ignore-path ./.prettierignore --check .","stylelint":"stylelint **/*.{css,scss,sass,html,js,md,mjs,svelte,svg,ts}","clean-code":"npm run stylelint && npm run prettier:fix && npm run eslint:fix","eslint:fix":"eslint --fix --ignore-path ./.eslintignore .","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prettier:fix":"prettier --ignore-path ./.prettierignore --write .","prepublishOnly":"npm run package","publish-package":"npm publish -access public"},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"repository":{"url":"git+https://github.com/castlenine/svelte-qrcode.git","type":"git"},"_npmVersion":"9.8.0","description":"QR Code generator component for Svelte & SvelteKit, with no dependencies","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^4.5.3","tslib":"^2.6.2","eslint":"^8.57.0","svelte":"^4.2.15","publint":"^0.2.7","prettier":"^3.2.5","stylelint":"^15.11.0","typescript":"^5.4.5","svelte-check":"^3.7.0","@sveltejs/kit":"^1.30.4","stylelint-scss":"^5.3.2","prettier-eslint":"^16.3.0","stylelint-order":"^6.0.4","@sveltejs/package":"^2.3.1","svelte-preprocess":"^5.1.4","eslint-plugin-html":"^8.1.1","prettier-stylelint":"^0.4.2","prettier-eslint-cli":"^8.0.1","eslint-plugin-import":"^2.29.1","eslint-plugin-svelte":"^2.38.0","svelte-eslint-parser":"^0.35.0","stylelint-config-html":"^1.1.0","@sveltejs/adapter-auto":"^2.1.1","eslint-config-prettier":"^9.1.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-security":"^1.7.1","prettier-plugin-svelte":"^3.2.3","eslint-plugin-only-warn":"^1.1.0","@typescript-eslint/parser":"^7.8.0","stylelint-config-standard":"^34.0.0","stylelint-selector-bem-pattern":"^3.0.1","@typescript-eslint/eslint-plugin":"^7.8.0","eslint-import-resolver-typescript":"^3.6.1","stylelint-no-unsupported-browser-features":"^7.0.0"},"peerDependencies":{"svelte":">=3.54.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte-qrcode_2.2.0_1714489391281_0.8551606100516995","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@castlenine/svelte-qrcode","description":"QR Code generator component for Svelte & SvelteKit, with no dependencies","version":"2.3.0","license":"MIT","author":{"name":"Alexandre Castlenine","url":"https://github.com/Castlenine"},"repository":{"type":"git","url":"git+https://github.com/castlenine/svelte-qrcode.git"},"bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"keywords":["2fa","authentication","base64","code","component","logo","multifactor","multi-factor","qr","qrcode","qr-code","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"scripts":{"dev":"vite dev","build":"vite build && npm run package","package":"svelte-kit sync && svelte-package && publint","prepublishOnly":"npm run package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","commit":"git status && git-cz","prettier":"prettier --config \"./.prettierrc.yaml\" --ignore-path \"./.prettierignore\" --check .","prettier:fix":"prettier --config \"./.prettierrc.yaml\" --ignore-path \"./.prettierignore\" --write .","eslint":"eslint --config \"./.eslintrc.cjs\" --ignore-path \"./.eslintignore\" .","eslint:fix":"eslint --config \"./.eslintrc.cjs\" --ignore-path \"./.eslintignore\" . --fix","stylelint":"stylelint --config \"./.stylelintrc.yaml\" \"**/*.{css,scss,sass,html,js,ts,cjs,mjs,svelte,svg}\"","stylelint:fix":"stylelint --config \"./.stylelintrc.yaml\" --fix \"**/*.{css,scss,sass,html,js,ts,cjs,mjs,svelte,svg}\"","clean-code":"pnpm run stylelint:fix ; pnpm run prettier:fix ; pnpm run eslint:fix","publish-package":"npm publish -access public","prepare":"lefthook install"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"}},"peerDependencies":{"svelte":">=3.54.0"},"type":"module","types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","devDependencies":{"@commitlint/cli":"^19.5.0","@commitlint/config-conventional":"^19.5.0","@commitlint/cz-commitlint":"^19.5.0","@commitlint/types":"^19.5.0","@sveltejs/adapter-auto":"^2.1.1","@sveltejs/kit":"^1.30.4","@sveltejs/package":"^2.3.5","@types/eslint":"^8.56.12","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","commitizen":"^4.3.1","eslint":"^8.57.1","eslint-config-prettier":"^9.1.0","eslint-import-resolver-typescript":"^3.6.3","eslint-plugin-html":"^8.1.2","eslint-plugin-import":"^2.31.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-only-warn":"^1.1.0","eslint-plugin-prettier":"^5.2.1","eslint-plugin-security":"^1.7.1","lefthook":"^1.7.18","lint-staged":"^15.2.10","prettier":"^3.3.3","prettier-eslint-cli":"^8.0.1","prettier-eslint":"^16.3.0","prettier-plugin-svelte":"^3.2.7","publint":"^0.2.11","stylelint":"^16.9.0","stylelint-config-html":"^1.1.0","stylelint-config-recommended-scss":"^14.1.0","stylelint-config-recommended":"^14.0.1","stylelint-config-standard":"^36.0.1","stylelint-no-unsupported-browser-features":"^8.0.1","stylelint-order":"^6.0.4","stylelint-prettier":"^5.0.2","stylelint-scss":"^6.7.0","svelte-check":"^4.0.4","svelte-eslint-parser":"^0.41.1","svelte-preprocess":"^6.0.3","svelte":"^4.2.19","tslib":"^2.7.0","typescript":"^5.6.2","vite":"^4.5.5"},"_id":"@castlenine/svelte-qrcode@2.3.0","gitHead":"20ce7f692e96619c10742b27891e9f24a3fe4ea4","homepage":"https://github.com/castlenine/svelte-qrcode#readme","_nodeVersion":"22.4.1","_npmVersion":"10.8.1","dist":{"integrity":"sha512-1YO6tL63gjbCuBkhd/PyMMFbjFD6gO6TJjvq5Ucfs5+0s13oDfiUyxO15kjR11enG7O/A2R0WBuc4bfdMqjTJQ==","shasum":"9a8385f002531244636cb489d613edfa2cad0a93","tarball":"https://registry.npmjs.org/@castlenine/svelte-qrcode/-/svelte-qrcode-2.3.0.tgz","fileCount":12,"unpackedSize":89829,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3REv4G6X+Uf/mCG7kZAHdrji3rdqF95HbH+fz5xghqQIhAInHja8o96qjYy0vQM7zL+NGYiUizec2UPIwfrpxnyAN"}]},"_npmUser":{"name":"castlenine","email":"alexandre@duxreserve.com"},"directories":{},"maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-qrcode_2.3.0_1727956928961_0.8554879904749939"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-05T08:58:58.340Z","modified":"2024-10-03T12:02:09.317Z","0.0.1":"2023-09-05T08:58:58.671Z","1.0.0":"2023-09-05T09:11:05.087Z","1.1.0":"2023-09-09T17:28:44.751Z","1.2.0":"2024-04-26T19:42:45.818Z","1.2.1":"2024-04-27T17:37:23.026Z","1.3.0":"2024-04-27T18:18:08.005Z","2.0.0":"2024-04-29T20:29:22.831Z","2.1.0":"2024-04-30T09:40:34.178Z","2.2.0":"2024-04-30T15:03:11.434Z","2.3.0":"2024-10-03T12:02:09.158Z"},"bugs":{"url":"https://github.com/castlenine/svelte-qrcode/issues"},"author":{"name":"Alexandre Castlenine","url":"https://github.com/Castlenine"},"license":"MIT","homepage":"https://github.com/castlenine/svelte-qrcode#readme","keywords":["2fa","authentication","base64","code","component","logo","multifactor","multi-factor","qr","qrcode","qr-code","qrimage","qrsvg","svelte","sveltekit","svg","totp"],"repository":{"type":"git","url":"git+https://github.com/castlenine/svelte-qrcode.git"},"description":"QR Code generator component for Svelte & SvelteKit, with no dependencies","maintainers":[{"name":"castlenine","email":"alexandre@duxreserve.com"}],"readme":"<div align=\"center\">\n\n# `@castlenine/svelte-qrcode`\n\n[![npm.badge]][npm] [![download.badge]][download] [![repl.badge]][repl] [![contribution.badge]][contribution]\n\nQR Code generator for Svelte & SvelteKit, with no dependencies\n</div>\n\n## Install\n\nUse your package manager to install:\n\n```bash\nnpm install --save-dev @castlenine/svelte-qrcode\n```\n\n## Quick Start\n\n```svelte\n<script>\n  import QRCode from '@castlenine/svelte-qrcode';\n</script>\n\n<QRCode data=\"Hello world!\" />\n```\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-hello-world.svg?sanitize=true)\n\n## Migration from v1 to v2\n\nMany new features have been added to version 2.0.0, and some properties have been renamed.\n\nHere is a list of the changes:\n\n| Old property name      | New property name      | Note                                                                 |\n| ---------------------- | ---------------------- | -------------------------------------------------------------------- |\n| `content`              | `data`                 |                                                                      |\n| `errorCorrection`      | `errorCorrectionLevel` |                                                                      |\n| `base64Image`          | `logoInBase64`         |                                                                      |\n| `logoWidth`            | `logoSize`             | `logoSize` is applied to `logoWidth` and `logoHeight` (new property) |\n| `dispatchDownloadLink` | `dispatchDownloadUrl`  |                                                                      |\n\n| Old event name          | New event name         |\n| ----------------------- | ---------------------- |\n| `downloadLinkGenerated` | `downloadUrlGenerated` |\n\n## Properties\n\n### Data\n\nThe data encoded in the QR code typically consists of a URL to a website or a code used by applications, such as handling secrets in time-based one-time password (TOTP) applications.\n\nThis is the only property required to generate the QR code.\n\n| Property name | Type     | Required |\n| ------------- | -------- | -------- |\n| `data`        | `string` | **Yes**  |\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" />\n```\n\n### QR Code type number\n\nThe QR code type number, an integer ranging from 1 to 40, determines the QR code's data capacity. The default value is `0`, which allows for automatic detection.\n\n[More details](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/qr-code-type-number.png)\n\n| Property name | Type                              | Default value |\n| ------------- | --------------------------------- | ------------- |\n| `typeNumber`  | Integer `number` between 0 and 40 | `0`           |\n\n**Note:** In most cases, setting this property is unnecessary. However, if you need to generate a QR code with a specific type number, you can set it as follows:\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" typeNumber={4} />\n```\n\n### Error correction level\n\nQR Code has error correction capability to restore data if the code is dirty or damaged. Four error correction levels are available to choose according to the operating environment. Raising this level improves error correction capability but also increases the amount of data QR Code size and reduces the QR code's data capacity.\n\nTo select error correction level, various factors such as the operating environment and QR Code size need to be considered. Level `Q` or `H` may be selected for factory environment where QR Code get dirty, whereas Level `L` may be selected for a clean environment with the large amount of data. Typically, level `M` (15%) is most frequently selected.\n\n- Level `L` Approx 7%\n- Level `M` Approx 15% (default value)\n- Level `Q` Approx 25%\n- Level `H` Approx 30%\n\n| Property name          | Type                       | Default value |\n| ---------------------- | -------------------------- | ------------- |\n| `errorCorrectionLevel` | `'L'`, `'M'`, `'Q'`, `'H'` | `'M'`         |\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" errorCorrectionLevel=\"L\" />\n\n<QRCode data=\"https://duxreserve.com\" errorCorrectionLevel=\"M\" />\n\n<QRCode data=\"https://duxreserve.com\" errorCorrectionLevel=\"Q\" />\n\n<QRCode data=\"https://duxreserve.com\" errorCorrectionLevel=\"H\" />\n```\n\n### Colors\n\nYou can customize the colors of the QR code using hexadecimal color codes or [CSS color keywords](https://www.w3.org/wiki/CSS/Properties/color/keywords) such as `'transparent'` and `'red'`.\n\n| Property name       | Type     | Default value                        | Note                                                                                                |\n| ------------------- | -------- | ------------------------------------ | --------------------------------------------------------------------------------------------------- |\n| `backgroundColor`   | `string` | `'#ffffff'`                          |                                                                                                     |\n| `color`             | `string` | `'#000000'`                          | Will be apply to `modulesColor`,`anchorsOuterColor` and `anchorsInnerColor` if they are not defined |\n| `modulesColor`      | `string` | Same as `color` property             |                                                                                                     |\n| `anchorsOuterColor` | `string` | Same as `modulesColor` property      |                                                                                                     |\n| `anchorsInnerColor` | `string` | Same as `anchorsOuterColor` property |                                                                                                     |\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" backgroundColor=\"#009900\" color=\"#ffffff\" />\n\n<QRCode data=\"https://duxreserve.com\" backgroundColor=\"black\" modulesColor=\"#ffffff\" anchorsOuterColor=\"red\" anchorsInnerColor=\"#00ff00\" />\n```\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-colors-1.svg?sanitize=true)\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-colors-2.svg?sanitize=true)\n\n### Shape\n\nYou have two options to customize the QR code shape: `'square'` and `'circle'`.\n\nSet the `haveBackgroundRoundedEdges` property to `true` to round the edges of the QR code background.\n\nSet the `haveGappedModules` property to `true` to create gaps between the modules.\n\n| Property name                | Type                   | Default value |\n| ---------------------------- | ---------------------- | ------------- |\n| `shape`                      | `'square'`, `'circle'` | `'square'`    |\n| `haveBackgroundRoundedEdges` | `boolean`              | `false`       |\n| `haveGappedModules`          | `boolean`              | `false`       |\n\n```svelte\n<!-- No need to set the shape for `square` (default value) -->\n<QRCode data=\"https://duxreserve.com\" />\n\n<QRCode data=\"https://duxreserve.com\" shape=\"circle\" />\n\n<QRCode data=\"https://duxreserve.com\" haveBackgroundRoundedEdges />\n\n<QRCode data=\"https://duxreserve.com\" haveGappedModules />\n```\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-square.svg?sanitize=true)\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-circle.svg?sanitize=true)\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-rounded-edge.svg?sanitize=true)\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-gapped-modules.svg?sanitize=true)\n\n### Join in unique SVG element\n\nIf `isJoin` is set to `true`, the QR code will be generated as a single SVG element. If set to `false`, each square will be an individual SVG element.\n\nThe `isJoin` property is useful for performance optimization, especially when generating a large number of QR codes. However, the colors of the anchors and modules will not differ, and the shape can only be `'square'` when `isJoin` is set to `true`.\n\n**Note:** Most of the cases, you don't need to set this property to `true`.\n\n| Property name | Type      | Default value |\n| ------------- | --------- | ------------- |\n| `isJoin`      | `boolean` | `false`       |\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" isJoin />\n```\n\n### Responsive\n\nIf `isResponsive` set to `true`, the QR code will be responsive and adapt to the available space in its parent element.\n\n| Property name  | Type      | Default value |\n| -------------- | --------- | ------------- |\n| `isResponsive` | `boolean` | `false`       |\n\n```svelte\n<div style=\"width: 30%; height: 30%;\">\n  <QRCode data=\"https://duxreserve.com\" isResponsive />\n</div>\n```\n\n### QR Code size\n\nYou can adjust the padding and size of the QR code. Increasing the size enhances the ease of scanning.\n\nThe `padding` is measured in \"module units\", while the `size`, `width` and `height` are in pixels.\n\n**Note:** It's recommended to use a square-like QR code if you prefer different `width` and `height` values. Test the QR code with different sizes to ensure it is scannable.\n\n| Property name | Type                   | Default value           | Note                                                          |\n| ------------- | ---------------------- | ----------------------- | ------------------------------------------------------------- |\n| `padding`     | `number` (module unit) | `1` \"module unit\"       | 1 padding  = 1 module unit                                    |\n| `size`        | `number` (pixel)       | `256` pixels            | Will be apply to `width` and `height` if they are not defined |\n| `width`       | `number` (pixel)       | Same as `size` property |                                                               |\n| `height`      | `number` (pixel)       | Same as `size` property |                                                               |\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" padding={5} size={1000} />\n\n<QRCode data=\"https://duxreserve.com\" padding={5} width={1000} height={800} />\n```\n\n### Centered logo\n\nYou can add a logo to the center of the QR code; it will be automatically scaled to fit and inserted in the generated SVG.\n\nIf you don't set `logoInBase64` or `logoPath`, the logo will not be displayed. You can use either `logoPath` or `logoInBase64` to specify the logo image. Use `logoInBase64` instead of `logoPath` for faster logo loading times. If you use `logoInBase64`, the `logoPath` property will be ignored. There is no validation of the base64 encoding for `logoInBase64`; ensure it is valid.\n\n`logoPath` can be either a local path or a URL. Typically, the logo file is located in the static folder. If the path is incorrect or undefined, the logo will not be displayed. It uses the Fetch API to load the image; therefore, if the URL is external, it must be CORS-enabled. There may be a slight delay in loading the image when using `logoPath`. You can set `waitForLogo` to `true` to ensure the logo loads before the QR code is rendered.\n\nIf you don't set `logoBackgroundColor`, the logo will have the same background color as the QR code.\n\n**Note:** There is no validation of the base64 encoding for `logoInBase64`; ensure it is valid.\n\n| Property name         | Type                    | Default value                                         | Note                                                                  |\n| --------------------- | ----------------------- | ----------------------------------------------------- | --------------------------------------------------------------------- |\n| `logoInBase64`        | base64 (image) `string` | `''` (no logo)                                        |                                                                       |\n| `logoPath`            | `string`                | `''` (no logo)                                        |                                                                       |\n| `logoBackgroundColor` | `string`                | `''` (same as the QR Code `backgroundColor` property) |                                                                       |\n| `logoPadding`         | `number` (module unit)  | `1` \"module unit\"                                     | 1 logoPadding  = 1 module unit                                        |\n| `logoSize`            | `number` (pixel)        | `15`% of the QR code `size` property                  | Will be apply to `logoWidth` and `logoHeight` if they are not defined |\n| `logoWidth`           | `number` (pixel)        | Same as `logoSize` property                           |                                                                       |\n| `logoHeight`          | `number` (pixel)        | Same as `logoSize` property                           |                                                                       |\n| `waitForLogo`         | `boolean`               | `false`                                               |                                                                       |\n\n```svelte\n<QRCode data=\"https://duxreserve.com\" logoPath=\"/logo/lightning.svg\" />\n\n<!-- External URL -->\n<QRCode data=\"https://duxreserve.com\" logoPath=\"https://upload.wikimedia.org/wikipedia/commons/a/a8/Lightning_bolt_simple.png\" />\n\n<!-- WaitForLogo -->\n<QRCode data=\"https://duxreserve.com\" logoPath=\"https://upload.wikimedia.org/wikipedia/commons/a/a8/Lightning_bolt_simple.png\" waitForLogo />\n\n<!-- logoInBase64 -->\n<QRCode data=\"https://duxreserve.com\" logoInBase64=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Im0xOC40OTYgMTAuNzA5bC04LjYzNiA4Ljg4Yy0uMjQuMjQ2LS42MzgtLjAzOS0uNDgyLS4zNDVsMy4wNzQtNi4wNjZhLjMuMyAwIDAgMC0uMjY4LS40MzZINS43MThhLjMuMyAwIDAgMS0uMjE0LS41MWw4LjAxLTguMTE1Yy4yMzItLjIzNS42MTguMDIzLjQ4OS4zMjhMMTEuNzA2IDkuODZhLjMuMyAwIDAgMCAuMjguNDE3bDYuMjkxLS4wNzhhLjMuMyAwIDAgMSAuMjIuNTA5Ii8+PC9zdmc+\" />\n\n<!-- logo background color -->\n<QRCode data=\"https://duxreserve.com\" logoPath=\"/logo/lightning.svg\" logoBackgroundColor=\"#ff0000\" />\n\n<!-- logo padding -->\n<QRCode data=\"https://duxreserve.com\" logoPath=\"/logo/lightning.svg\" logoPadding={2} />\n\n<!-- logo size -->\n<QRCode data=\"https://duxreserve.com\" logoPath=\"/logo/lightning.svg\" logoSize={20} />\n\n<QRCode data=\"https://duxreserve.com\" logoPath=\"/logo/lightning.svg\" logoWidth={20} logoHeigh={15} />\n```\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-logo.svg?sanitize=true)\n\n### Downloading the QR Code\n\nYou can download the QR code as a file (`'svg'` | `'png'` | `'jpg'` | `'jpeg'` | `'webp'`) by using an anchor tag that initiates the download. To enable this functionality, set the `dispatchDownloadUrl` property to `true` and listen for the `downloadUrlGenerated` event to retrieve the download URL. You can choose the file format by setting the `downloadUrlFileFormat` property to `'svg'` (default), `'png'`, `'jpg'`, `'jpeg'`, or `'webp'`.\n\nAdd the `download` attribute to the anchor tag to specify the filename for the downloaded file. The extension is optional in the file name; the file format will be determined by the `downloadUrlFileFormat` property.\n\nAdditionally, include the `target=\"_blank\"` attribute in the anchor tag to open the download in a new tab.\n\n**Note:** You cannot use the `downloadUrlFileFormat` other than `'svg'` in a non-browser environment.\n\n| Property name           | Type                                          | Default value |\n| ----------------------- | --------------------------------------------- | ------------- |\n| `dispatchDownloadUrl`   | `boolean`                                     | `false`       |\n| `downloadUrlFileFormat` | `'svg'`, `'png'`, `'jpg'`, `'jpeg'`, `'webp'` | `'svg'`       |\n\n```svelte\n<script>\n  import QRCode from '@castlenine/svelte-qrcode';\n\n  let downloadUrl = '';\n\n  const handleDownloadUrlGenerated = (url = '') => {\n    downloadUrl = url;\n  };\n</script>\n\n<div>\n  <QRCode\n    data=\"https://duxreserve.com\"\n    logoPath=\"/logo/lightning.svg\"\n    downloadUrlFileFormat=\"png\"\n    dispatchDownloadUrl\n    on:downloadUrlGenerated={(event) => handleDownloadUrlGenerated(event.detail.url)}\n  />\n</div>\n\n\n{#if downloadUrl}\n  <a href={downloadUrl} download=\"QR-code-filename.png\" target=\"_blank\">Download QR Code</a>\n{/if}\n```\n\n### Other events\n\nYou can listen for the following events:\n\n- `qrCodeGenerated`: The QR Code is successfully generated\n- `qrCodeRegeneratedWithLogo`: The QR Code is successfully regenerated with the logo\n- `qrCodeGenerationFailed`: The QR Code generation failed. The error message can be retrieved via `event.detail`. Check the console for more information\n\n```svelte\n<QRCode\n  data=\"https://duxreserve.com\"\n  on:qrCodeGenerated={handleQrCodeGenerated}\n  on:qrCodeRegeneratedWithLogo={handleQrCodeRegeneratedWithLogo}\n  on:qrCodeGenerationFailed={handleQrCodeGenerationFailed}\n/>\n```\n\n### Time-based one-time passwords (TOTP)\n\nSample URL for a John Doe user on the Acme app:\n\n```svelte\n<QRCode data=\"otpauth://totp/ACME%20Co:john.doe@email.com?secret=HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ&issuer=ACME%20Co&algorithm=SHA1&digits=6&period=30\" />\n```\n\n![Alt text](https://github.com/Castlenine/svelte-qrcode/blob/master/readme/sample-totp.svg?sanitize=true)\n\n[npm]: https://www.npmjs.com/package/@castlenine/svelte-qrcode\n[npm.badge]: https://img.shields.io/npm/v/@castlenine/svelte-qrcode\n[download]: https://www.npmjs.com/package/@castlenine/svelte-qrcode\n[download.badge]: https://img.shields.io/npm/d18m/@castlenine/svelte-qrcode\n[repl]: https://svelte.dev/repl/3e0c8ebeb0c74d7098a1e939800456c2?version=4.2.15\n[repl.badge]: https://img.shields.io/static/v1?label=&message=Svelte+REPL&logo=svelte&logoColor=fff&color=ff3e00\n[contribution]: https://github.com/Castlenine/svelte-qrcode\n[contribution.badge]: https://img.shields.io/badge/contributions-welcome-green\n","readmeFilename":"README.md"}