{"_id":"weapp-qrcode","_rev":"14-bdd1b1e46a6078f4b01b3190ffc56c44","name":"weapp-qrcode","description":"generate qrcode in weapp","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"weapp-qrcode","version":"0.1.0","description":"generate qrcode in weapp","main":"index.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"2fe6a58a3dee9cc31b1b76cf24c022b78cd683ed","_id":"weapp-qrcode@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-3xdlDUDCHJMhyav42ajY/7alSK01luu5/7MNqGIU8QzvabwarXcMftZMjBUnqxdyaQiSYFdWrB4S1pCeUqJsiQ==","shasum":"7a47c946284019b57f765d54cfa261489ae8a0e6","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkEwtf9dMwKG5h23LGW24PghhutFu3fvIDeSP4RSpZ/AiA3k+2/PEHOQeZB5A2oX82uxBHQx11h7DNbvNIqzkIDsw=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode-0.1.0.tgz_1517550901230_0.8348938599228859"},"directories":{}},"0.1.1":{"name":"weapp-qrcode","version":"0.1.1","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.min.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"fbdfacf59e84b2ef340208c1de9cffdb2b9075e3","_id":"weapp-qrcode@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-9P77PcPsD/gE6DuDFmU61yDqlBiC+gCVnlocKOtmZgYQQCOIoF/cuCsh5rCxh9K5qoVj+xEGsSJ6Y/0uou+gEg==","shasum":"f26110eac41a5d802bcd481ae0c37292b03f0573","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0NeBHTfmQ47xuNbSzRSOKzl2w9Zu5zvhXqU8M0C1lEgIhAOnlvI0P9xSVcIwgnTR+xoRXbY0d55MeKDRUtTaXGrdZ"}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode-0.1.1.tgz_1517551245224_0.4460216446314007"},"directories":{}},"0.1.2":{"name":"weapp-qrcode","version":"0.1.2","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.min.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"1563b042ba6d67effa5f660a3023e8424dbe4198","_id":"weapp-qrcode@0.1.2","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-UuhwQvVNaVRC/HJF16WFljqVkBm3/NJNdkENsdpelPAQZTjihBGVHfXRXYkelnWilE1LOkSS6mDRR415mZ76ow==","shasum":"c9297ac6330e69d12004ae5ef53986d976ea6948","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvZYsekGoTnZOx/VK+p+uzoSvWx/fg57WUiIrooNbtjAiBuT3/mMyX/pjx4NQFX57wqjaGvR64HpKqNFN1GkRXNLA=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode-0.1.2.tgz_1517555568509_0.4042934977915138"},"directories":{}},"0.2.0":{"name":"weapp-qrcode","version":"0.2.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.min.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"97041cbf1dd93ee69167c93fd5597189b819ee6d","_id":"weapp-qrcode@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-YV1guxrvTn7ZWa6bHTZCDQr6hmGoVmmo1jpUGuvSwR5zSSh9CnDP0XunSTPA3fhcsbZ/VIySuI5b23hsP28Hzg==","shasum":"db85c0e476685adffb33d1d7495238cccf981bb1","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDilFlBdNgKOH7k+AtfRYx/YmQ5wzLBbJ3Lnn3L8Ayz5AIgXL1vteC6MmGZkJ10dnXxp8sP2SJJx0KZV1VKvgW1jO4="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode-0.2.0.tgz_1517555648593_0.7660096250474453"},"directories":{}},"0.3.0":{"name":"weapp-qrcode","version":"0.3.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.min.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"dc5bebd04e52f83f0644f748b49e89d510efc663","_id":"weapp-qrcode@0.3.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-IjBS4rcATp6yn39WtnyizbO9oxVqvhcQ+qvUR5hpV4lyBF6gIHB9lhQY8Piu89scPS0KzV3KcCbr45SJ4R8DBw==","shasum":"edd5b9ef75c6fe7903cce73f7e7ed52a552016ef","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPO+HjOGu5fCMw05/HPe4aY+yUmPJHh7dLe4iRHOK9jAiEAyNkJws7zQQdtjvBNxHeAAvpz6NkaKAEd5+MaCl/W3ck="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode-0.3.0.tgz_1517555802985_0.32503396389074624"},"directories":{}},"0.4.0":{"name":"weapp-qrcode","version":"0.4.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.min.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"af72aa3a2b05ae56d49142cce46d7ca00a2a0a6c","_id":"weapp-qrcode@0.4.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-rp1FznecT0BeI9DTaZAAADN6A2hxivCu1o3ywIE8Tyg91i1Q/ILx0d6c177siXbIo1RfdG02qxcAStzYBdcLJg==","shasum":"fef8631570d748e63f3e63e438fe25ab619661eb","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.4.0.tgz","fileCount":12,"unpackedSize":174024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEBeYaoaugAdbLOVTwaz0T+9pEXYtsvV3tj9oCMKDOyCAiEA2t931vvCYRoYidm5NseUkLulRCnYKCYj+uaZ0fn4QfE="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_0.4.0_1520606504280_0.7333293100313749"},"_hasShrinkwrap":false},"0.5.0":{"name":"weapp-qrcode","version":"0.5.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.min.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","publish":"npm run dev & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"62ab6cf36e9d11f944501e99d181ffc54854fd67","_id":"weapp-qrcode@0.5.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-uj94Aj9pb1gUIquACwkFkQyLjQrudHF2QfwEUbQoo3ul3Em33D1ECjvEBStjsVIifB+uTZOF4w3Mn/LhSAE4mQ==","shasum":"81d47692b4fa20b80196575c8260ec3c137479dd","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.5.0.tgz","fileCount":13,"unpackedSize":80926,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrRF1Qpmx6P+9ZCXOCLKZIePwU2FImVlZbRipsAiOeGAiAuVIxRQc+IFWfJgQ8NhvLZcUZ2BjPMIU87VfYIGhR6Xg=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_0.5.0_1520774253285_0.045007179355858185"},"_hasShrinkwrap":false},"0.6.0":{"name":"weapp-qrcode","version":"0.6.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.common.js","module":"dist/weapp.qrcode.esm.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","publish":"npm run dev & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"48d494f2a35af2f3c8df894a691c6e7e2ffda797","_id":"weapp-qrcode@0.6.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-0MoRyFz95MpK/XAFossjCKajpEHtOAg10llF01OQuxiNUgKM3DPwTldMUiwCY8oFNHcuwMQbeerKrAHm2eOXZw==","shasum":"8b0b86564f609db04e15a1517812a3229ed22390","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.6.0.tgz","fileCount":16,"unpackedSize":111233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1C0PCRA9TVsSAnZWagAAQKIP/i3S5iu2g967SfvpK9hb\nFkFbj7+EB7JgfnfCBos8PbZNcs8Q89ed6qNLZVx3hB82u1pfQfITPrTuhNDg\nXyRvKI96SQO/ZA7IwCx4dNd337Ml3JEBq+mtDPVXZV/vwwBBVPtMpWBMFGdx\nJ65BYWYBeYtt+/1KUf4mW5X3d9j7ihMadWyFmA6w3Sc6Ot1HYWwm5veW5jwW\nygRPUa7qevJDb/mAPLxbcvfpXZNPBwCGVPXgU0mtLT85AY3hBhKMKuTW3KBK\ny+1KE7ejfaieS8nRjLAJoWrWVLIt/U9uQyLejh3b02eQUQgPRPPXBJcXW7dC\nUsCDZnJ1QJcMkVwqeLKFw8pJ3xh9XyTEStiAzhjLHQijPZ1A3tDNSArLoayY\nq0L6KJ5AJlyDrBNuMLYm4t1eu9L9IdyELjCbVTtM8mcq8yZlEfHs5LtgjyWe\n37FOSrQOyE3Bm374Zs3XBQcKlp9p7l6wfzMEpecjyc9iFOC6evElsL9hnieO\nDbwNHQJZOQdl20nWOciEdIQVOO+ChcfRUHtWQEP6CU9G4+MUDuLUnYpqarQJ\nQPTquM7UVOg5SCDTqPBpkoWqFD3MQ402TWF/CYBiSB16EUEvHpZBCIy7TUv8\n3Eb9w63s2jnizgnaEm1TD567EJHLAyWXfPlbJs9l6lIRKrNKBQ0h0vJvg01t\nu7lB\r\n=v7Ge\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGEYXbkLtnxo15BrvXYOVcWrtAaOg1J/kXeFLB4ZKPb6AiEAiyTfJTKDoDw6LXPR8pTqalO1bUn3K47zQdAHueZz1Do="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_0.6.0_1523854606844_0.2291054198260174"},"_hasShrinkwrap":false},"0.7.0":{"name":"weapp-qrcode","version":"0.7.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.common.js","module":"dist/weapp.qrcode.esm.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","publish":"npm run dev & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"2fef437e3f80c2e3c81b7aff41dc596159905327","_id":"weapp-qrcode@0.7.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-KBEJAO3rGh++sjT+TcK20/Sm1tt++72YM+4Znf5I9g0vBfS82rpBMEhvubyjUsYiYBocL2abXuTAJnUUXOvr7g==","shasum":"bf56b4f49614a4098f5394793b0b96ea93b74ca3","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.7.0.tgz","fileCount":16,"unpackedSize":111963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9X9LCRA9TVsSAnZWagAATQAP/iztc/b9QfCdO6fK8ZzW\nxpzVYgtEhb2+dI5p0JTnqRmj1dzfmbLIoQr5zwYf2UX5MhOCeHO5r3AoiE8d\n3cysjzkaRdXaAFdfO/qcfWq3C6MHkyF8QWr6xxATvamRmcD3/AYb1E0GKrlq\nnH4OAeyfjOHQQagK/LiGX4DfeyhVfmN1nX5Hk5fJt9KjLCcJ8xUEFcYPwvpG\n6bWSNF1YNc5Snq0HC8KJd4WxnB6upEx2H/Jj4t0XuToNyU/UXvP6cqIPRdhT\ngnV2CyR/71FRVY190fO3MLPNNDpg90CSYW2Inev1n+o91V7Ak2gNSzFtpZHh\njxhTWZc+3IbVg3y9HKDHuYMBOS+VTvXXrhjIdtSpwqLa8mLt8KEHEL72U7pE\nlCXhrnPqiF6uNSh8ZuQFW82Am7+e8F1WLHgo4K/CDQ2UUPnGXCyx9fuMXYPs\njU0bp5T88qDVwq1Wakl1M4Zrfk/QCs3yLy0+quoA7eGYWQOYsmpNG/DPFEEa\nEG8Y9dhNwTHZdH+EA0uQxP4uZLbQEgKlLN4KI/aLcDpBLQh72NXhMU9l4bvm\nUrr+azLW+847DrKvqp64c50Ltv9FuwlzmZfnILDUmTBrBRkRQZwQcreoAxWI\nIBuS+URiMMLvS6gUNSLEqderg60eoC29hcpGalE+YIsvE7FZP1SYoXuDI6cy\nAzP9\r\n=Vn3r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHySTJhltqbme3d+hcW94oVydsEhGkMvZQ1u4euyYPaUAiAhL9I4eXoDtGPSEP4n1/nQpoGTj6nOPnCKDg22kIzKWQ=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_0.7.0_1526038346099_0.2473146410678706"},"_hasShrinkwrap":false},"0.8.0":{"name":"weapp-qrcode","version":"0.8.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.common.js","module":"dist/weapp.qrcode.esm.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","publish":"npm run dev & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"85941828bd5891528952e0d2378d81cf1627bb75","_id":"weapp-qrcode@0.8.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-lRVpjiakviOpKQBdoiQ5DjoQt/aUcv14EWxfIa+2GacZV/YqM5Q3fugqiIloKdXi7acfq8PlBoE293J1ZanM/Q==","shasum":"e4bb1eb858f77a2bb302f5b8fd40a2572a961144","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.8.0.tgz","fileCount":16,"unpackedSize":112359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+nWKCRA9TVsSAnZWagAAhMIP/RSEjMkR30Hfzv0LsLel\ndnOpTlhzIhPSH+0916Ts0kz9QY5gme+kTDN9bCQA0qWl4HZdZykaUVqFwUn2\nPjF8AYbdHd1J4Tu4pQyR9pmde9xO6mysy4bw9XDn9OoIBUnVh7cffjQP6e5e\n8IhM51Ettf8SixKJ3prSVQi44VcQny4X7CQwcMCSuzjAL+YuK9MhcAWZE9wK\nHiUKQkZnFSgKFaJ1ciGKcO+3Yy5h/RhD909sz1ZLmqeGLWDEFUcmeIBWX0Mc\n+08yAqKT+CzUrtknqxO8vy3O3Ap2uCuZwEXyfCP8H4sn1oY1jz7pABWiwqgm\ngK+1JUkK6kZnE1jKY6kx10k9sINelm8XrtLZBEM1mdw2vLHA5U7X1D1w5Soa\njIOB+XFXCOkKc2hsHxdGo0J2JLJHutaOUE3DxJMrcAcJeXOQ/XhBm4t0TF2j\n808W0RWS+kz9DunsXMaip0ubNqpzKPnFZa1Xw54Z8nCkum/5Y7CAklyxgR6G\n8h0VeQCJW6L9kVuQWxJn9i/eNzesxi2A6Goen6Ave/jVN9Tw4jgeYSGyb/yV\n63U8Of3v8Y8KA+0fO4yp/UGSHquwCZcJ1i1RpYrsutcMJMe0vtIE0qHA1kB4\nY7z+KvLjgnCy3JH2x5QaG288svlIDz6xcftkCG7EbgT73JtHagLBFL3Mo8Cz\neR98\r\n=/RqS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4ar9XyeKMvPKlSxWdJD7r9wEFia7vjPzowl7g6bg8BQIgNteE3qyner2LcJ/rwbnZ7dZKcT36EP8z4vvGC/UbLx4="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_0.8.0_1526363529052_0.055322177069556666"},"_hasShrinkwrap":false},"0.9.0":{"name":"weapp-qrcode","version":"0.9.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.common.js","module":"dist/weapp.qrcode.esm.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js","build":"rollup --config build/rollup.prod.config.js","publish":"npm run dev & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"gitHead":"ed1e884abb536f17e3e865c4a511df7acbd7e846","_id":"weapp-qrcode@0.9.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-bHM93zJlgpDLWN7CVEdxRnK99FdVRgwohkQ2jrI7l+xJ0rCrO9Un6Er83cflO3fvpweIqeBdN1hwoZD//twWsQ==","shasum":"1ed33715b94def0cd25fb0e67a71beca6af452eb","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-0.9.0.tgz","fileCount":16,"unpackedSize":114613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbD3sxCRA9TVsSAnZWagAADO8P/0ttFpYhE2lh7WYF59Gf\nFpx5WRcV98qyZoeqDR1Yua97n52jwgP9JpB6CO7Jz1s4WzLjebDi/oFUwxnf\ndbwDGou8AH9e7UMmT9wl7Zcn9IqcX18Yl/Iokys8DuObIhZI98mNKfWFt4+t\nwcWIQ+K5BroEMhoFvxK9jrSyWmKHGnrFpjpWfJCJyE+/iw13aFO10EPmXrVf\nHlbgKvIDNsuRtYxC/Qj7jfdD7LmJ10Htpgi8Q4PSJH4GSs0vQzBmFSsZw2wd\nycF/43YBt9H6aP48Zc4tNCtPiPrSxcqjwm/l0j9657r6axaLUnds/SrfcQiT\nChpC8xH7DRLk0G+SLWSWZgU+rct9+CXEMq0EJptlT9pM6VVDRJNyli9Ex1IJ\nZi8d+62XQWBwCJjVwlL0gpNG3vgSX15R4ckx2zCzJr1vyuDRxxQnU5GGHTkZ\nRMrfeL5FkulLS7BmiDBmPfnPZlUhWplkBazxkyhlHzz/nNrE2K1pdnISrZvq\nMxjrHI51zdjnHQyebHk6P/KwQ61k1m5h6bHTjrwCsQPmWwiBi/sEBZZhEnc9\nnryWJMTK/KaGqVMnK0N9JfZbh1fXsMeoJGU8C5IoZxy+NyZe1cMX1IhPb8ti\nFGtAnxFGTgVo2Qs47BtXoDNyonzvbzkD3sj86F+tdR7JadjrfnpO0uoVXNxw\n8dLB\r\n=XYgz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLVn63axuLQyEn2OBhQX4Asx5zUVMULnnSgk85tD0i9AIhAPaKqyttPx23W6xdUceDuqbzIo7j5/zhGa/7YNG8bAFU"}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_0.9.0_1527741232602_0.37296517459999423"},"_hasShrinkwrap":false},"1.0.0-beta":{"name":"weapp-qrcode","version":"1.0.0-beta","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.common.js","module":"dist/weapp.qrcode.esm.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js -w","build":"rollup --config build/rollup.prod.config.js","publish":"rollup --config build/rollup.dev.config.js & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"dependencies":{"extend":"^3.0.2"},"gitHead":"96e8cc4485716032911da397a65dc8509ed2db7e","_id":"weapp-qrcode@1.0.0-beta","_npmVersion":"6.4.1","_nodeVersion":"10.0.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-ZiiVmtohDZo2o606FzYQmW5GZtIdnAysem3oxQADUAEESVXTGKZXwlJSzHLzPiBa1rc2hFFT6Puc8yF3ANadDA==","shasum":"d112eb43840f88dbb0911b234006e97c4fbfe72e","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-1.0.0-beta.tgz","fileCount":17,"unpackedSize":124805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEfDsCRA9TVsSAnZWagAAeP8P/jKe/IFSX/TXrkt5aZCf\nmB5V1+TGUtP4cdqaBdqJ6HymfjE0zDKU5JNTzsV9dzvoq3PIWMrCigWgVKqe\nSOJ5HlVgTbTV+6ahFdoDjhkQ/QpK551h4EkrPo2aM4syzXS5yWbTZ84TLzPc\nA0ibS+xaTfphLcmwGFZ9JSbeS09P/bKOr9UzMIXBMSGas/TTWmc/9J2GhQ9X\nZFvrI2+NVe/fN/Jkx70iooF77j7w/yBiymhUT3yWQ1oHv9EpI83uCgB+sru2\n/GjvDCIVNDnE/IuKxwHArEZ8yubWTw7U1vXfgFPQS7FVS6dY6OwHj4fI1p3D\n4NBrHUf36ur3bQhWZY42nFn0Q9VGdQBj8+j5ggrTe7px6TtzOLQsh7iEcYXG\neVjCXStVwbpqqRQG7bTZwOlM0Jv+0s6ab72xDMFy/w92bdUqjo8HGubz7peV\nkbpndtgzzcuEkxG9sNmC7Zy2E15M3z+3kO8RlK6cuhOiDtbXhMHDwrZOtwQ6\nlTK/FZIeX5lIuog34bYzjuI2QsMIminOCle1OQ3kZKolD1C4kVT+tBVMdUMu\nqxSyt/iaUvgguuZYhz2DYitvxfU76ThLOmvR8T3Ke+sm7koduZYXrQ6pppJJ\n5yQbMvPd0Hz832sRLHIxYNiIozZ8hCYfPyZAyej1jJ1mFqurH64wFTxI6kgu\n2T67\r\n=88Cc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4TTjF0aawnhNSBXE1KixjHgVsvuxpFsIJGqdmdSEBRAiBeVuNrlVbG+0eO0bQrQkdtRSmgVN/eAli+0xiNyT9wpQ=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_1.0.0-beta_1544679659942_0.05867759506574188"},"_hasShrinkwrap":false},"1.0.0":{"name":"weapp-qrcode","version":"1.0.0","description":"generate qrcode in weapp","main":"dist/weapp.qrcode.common.js","module":"dist/weapp.qrcode.esm.js","scripts":{"dev":"rollup --config build/rollup.dev.config.js -w","build":"rollup --config build/rollup.prod.config.js","publish":"rollup --config build/rollup.dev.config.js & npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"keywords":["wechat","weapp","qrcode","canvas"],"author":{"name":"yingye"},"license":"MIT","bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.1","eslint":"^4.16.0","eslint-config-standard":"^11.0.0-beta.0","eslint-plugin-import":"^2.8.0","eslint-plugin-node":"^5.2.1","eslint-plugin-promise":"^3.6.0","eslint-plugin-standard":"^3.0.1","rollup":"^0.55.1","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-eslint":"^4.0.0","rollup-plugin-license":"^0.6.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^3.0.0"},"dependencies":{"extend":"^3.0.2"},"gitHead":"cd4041b59bfcc6ce129551216e362bc3e92c1624","_id":"weapp-qrcode@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.0.0","_npmUser":{"name":"yingye","email":"imyingye@gmail.com"},"dist":{"integrity":"sha512-4sa3W0rGDVJ9QaeZpAKlAuUxVyjhDwiUqHyGK/jJMsRMXnhb4yO8qWU/pZruMo+iT5J6CraS67lDMFb1VY+RaA==","shasum":"4f3b4b4e7d37710c513439166734587859aebbfc","tarball":"https://registry.npmjs.org/weapp-qrcode/-/weapp-qrcode-1.0.0.tgz","fileCount":18,"unpackedSize":126275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcIaQsCRA9TVsSAnZWagAAfd4P/18u7NSAQZCOqQGXeVbN\nCYNBKrUBO8cr+4KujVaUrvFJg5cXTkquD+axUHyKDbgvpkR63TusniPNhm9m\n2PvxmnVeZDPYThiN1zOOHX5GzSF7dsUKN954flL9L6iATb6c/fX+IEHe5pr4\ndnV/H94ckoHTtGFD/fK59oYlKJjLZLuKHa7yR8DBj1HRhgAGrBCcj05mB5k8\nV51P5rWcZnFi5KlQZBjeFFQWRV7pJiZw4vuqggfMMpDx7I/U5PYLM5a/3CA7\nYqgpt/cULI2wGTXkmv7vdY6j8eCXrhK36qGLgKFv7BuLX/gdxBYkD0+Vf4Qr\ncs6ARfdUpdbtC/hBbGhV71BP64KRK+apGpXwabsoJ9fmwyk9+4lFHdM0hakA\nWC9nQPY50Zwd+bgEOp1gXMPhx/uyycgj1aZbNqqcq2JcLIRZs74cPJbrEh/w\nuy05+r50UQCJINcoB2UmDYThYJ76gZmqIohZHar/ArIxHNAUnALytiJBNoLX\n6B04WH/fBBRz9IC80Xor/mTVna7GrMZp/a32MQcWxssxea4fy1R3dpI1BYAb\nTuWuaUjYqNOd42v8PyjztKHBHPpG/Zk1Djv6J7mz4I9QgRQWkHN/3jyugrhH\n6hFttfVKDq1AcmLo54coyE39qC6qqX/hOKUR5IU4SEvIyVXcv1iKn67jzQEz\n8sgk\r\n=aZDL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7vnGJJb0Gf1i7iH7TjGhFLD8FgF1OTYMcGKdR0n/BXAiASCrqFN3ejKnGRxoeb5fl4qRzd85C8PafdSYfyb9uI7Q=="}]},"maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weapp-qrcode_1.0.0_1545708587395_0.47566421831695505"},"_hasShrinkwrap":false}},"readme":"# weapp-qrcode\n\n[![npm version](https://badge.fury.io/js/weapp-qrcode.svg)](https://badge.fury.io/js/weapp-qrcode)\n[![change-log](https://img.shields.io/badge/changelog-md-blue.svg)](https://github.com/yingye/weapp-qrcode/blob/master/CHANGELOG.md)\n\nweapp.qrcode.js 在 微信小程序 中，快速生成二维码\n\n## Usage\n\n先在 wxml 文件中，创建绘制的 `canvas`，并定义好 `width`, `height`, `canvasId` 。\n\n```html\n<canvas style=\"width: 200px; height: 200px;\" canvas-id=\"myQrcode\"></canvas>\n```\n\n直接引入 js 文件，使用 `drawQrcode()` 绘制二维码。!!!在 调用 `drawQrcode()` 方法之前，一定要确保可以获取到 `canvas context` 。\n\n在 v0.6.0 版本构建出多个文件，详情移步[Build Files说明](https://github.com/yingye/weapp-qrcode/blob/master/dist/README.md)。\n\n```js\n// 将 dist 目录下，weapp.qrcode.esm.js 复制到项目目录中\nimport drawQrcode from '../../utils/weapp.qrcode.esm.js'\n\ndrawQrcode({\n  width: 200,\n  height: 200,\n  canvasId: 'myQrcode',\n  // ctx: wx.createCanvasContext('myQrcode'),\n  text: 'https://github.com/yingye',\n  // v1.0.0+版本支持在二维码上绘制图片\n  image: {\n    imageResource: '../../images/icon.png',\n    dx: 70,\n    dy: 70,\n    dWidth: 60,\n    dHeight: 60\n  }\n})\n```\n\n如果项目使用了 wepy 框架，可直接安装 `weapp-qrcode` npm包。\n\n```\nnpm install weapp-qrcode --save\n```\n\n```js\nimport drawQrcode from 'weapp-qrcode'\n\ndrawQrcode({\n  width: 200,\n  height: 200,\n  canvasId: 'myQrcode',\n  text: 'https://github.com/yingye'\n})\n```\n\n## DEMO\n\n<img src=\"./examples/demo.jpg\" width=300 >\n\n更多 demo 可以参考 [examples目录](https://github.com/yingye/weapp-qrcode/tree/master/examples)，示例包含原生语法及WePY、mpvue、Taro框架。\n\n## API\n\n### drawQrcode([options])\n\n#### options\n\nType: Object\n\n| 参数 | 说明 | 示例|\n| ------ | ------ | ------ |\n| width | 必须，二维码宽度，与`canvas`的`width`保持一致 | 200 |\n| height | 必须，二维码高度，与`canvas`的`height`保持一致 | 200 |\n| canvasId | 非必须，绘制的`canvasId` | `'myQrcode'` |\n| ctx | 非必须，绘图上下文，可通过 `wx.createCanvasContext('canvasId')` 获取，v1.0.0+版本支持 | `'wx.createCanvasContext('canvasId')'` |\n| text | 必须，二维码内容 | 'https://github.com/yingye' |\n| typeNumber | 非必须，二维码的计算模式，默认值-1 | 8 |\n| correctLevel | 非必须，二维码纠错级别，默认值为高级，取值：`{ L: 1, M: 0, Q: 3, H: 2 }` | 1 |\n| background | 非必须，二维码背景颜色，默认值白色 | `'#ffffff'` |\n| foreground | 非必须，二维码前景色，默认值黑色 | `'#000000'` |\n| _this | 非必须，若在组件中使用，需要传入，v0.7.0+版本支持 | this |\n| callback | 非必须，绘制完成后的回调函数，v0.8.0+版本支持。安卓手机兼容性问题，可通过自行设置计时器来解决，更多可以参考 [issue #18](https://github.com/yingye/weapp-qrcode/issues/18) | `function (e) { console.log('e', e) }` |\n| x | 非必须，二维码绘制的 x 轴起始位置，默认值0，v1.0.0+版本支持 | 100 |\n| y | 非必须，二维码绘制的 y 轴起始位置，默认值0，v1.0.0+版本支持 | 100 |\n| image | 非必须，在 canvas 上绘制图片，**层级高于二维码**，v1.0.0+版本支持，更多可参考[drawImage](https://developers.weixin.qq.com/miniprogram/dev/api/CanvasContext.drawImage.html) | `{ imageResource: '', dx: 0, dy: 0, dWidth: 100, dHeight: 100 }` |\n\n\n**位置信息可以参见下图：**\n\n<image src=\"./examples/api.png\" width=500 height=500>\n\n## TIPS\n\nweapp.qrcode.js 二维码生成部分借鉴了 jquery-qrcode 源码，可以参考 [jquery-qrcode](https://github.com/jeromeetienne/jquery-qrcode)。\n","maintainers":[{"name":"yingye","email":"imyingye@gmail.com"}],"time":{"modified":"2022-05-24T03:43:05.767Z","created":"2018-02-02T05:55:01.363Z","0.1.0":"2018-02-02T05:55:01.363Z","0.1.1":"2018-02-02T06:00:45.312Z","0.1.2":"2018-02-02T07:12:49.525Z","0.2.0":"2018-02-02T07:14:08.718Z","0.3.0":"2018-02-02T07:16:43.123Z","0.4.0":"2018-03-09T14:41:44.417Z","0.5.0":"2018-03-11T13:17:33.365Z","0.6.0":"2018-04-16T04:56:46.930Z","0.7.0":"2018-05-11T11:32:26.194Z","0.8.0":"2018-05-15T05:52:09.287Z","0.9.0":"2018-05-31T04:33:52.664Z","1.0.0-beta":"2018-12-13T05:41:00.104Z","1.0.0":"2018-12-25T03:29:47.532Z"},"homepage":"https://github.com/yingye/weapp-qrcode#readme","keywords":["wechat","weapp","qrcode","canvas"],"repository":{"type":"git","url":"git+https://github.com/yingye/weapp-qrcode.git"},"author":{"name":"yingye"},"bugs":{"url":"https://github.com/yingye/weapp-qrcode/issues"},"license":"MIT","readmeFilename":"README.md"}