Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@byted/qrcode-generator
Advanced tools
A tool for generating qrcode. Support to render canvas, display image, download image file and execute callback, upload image file and execute callback, add customized picture to the center of the qrcode and etc.
A tool for generating qrcode. Support to render canvas, display image, download image file and execute callback, upload image file and execute callback, add customized picture to the center of the qrcode and etc.
Based on https://www.npmjs.com/package/qrcode
完整支持https://www.npmjs.com/package/qrcode 的API
基于上述,添加以下API
渲染生成二维码及对应Blob对象
@param id Canvas画布id
@param text 二维码展示内容
@param option 二维码渲染配置对象(参见https://www.npmjs.com/package/qrcode)
@return new Promise 支持回调函数
上传二维码图片
@param id Canvas画布id
@param url 二维码上传地址(非跨域)
@return new Promise 支持回调函数
导出二维码图片
@param id Canvas画布id
@param filename 二维码文件名
@return new Promise 支持回调函数
获取二维码Blob对象实例
@param id Canvas画布id
@return blobInstance or {}
获取二维码Canvas对象实例
@param id Canvas画布id
@return canvasInstance or {}
销毁二维码实例并清空画布
@param id Canvas画布id
@returns
FAQs
A tool for generating qrcode. Support to render canvas, display image, download image file and execute callback, upload image file and execute callback, add customized picture to the center of the qrcode and etc.
The npm package @byted/qrcode-generator receives a total of 1 weekly downloads. As such, @byted/qrcode-generator popularity was classified as not popular.
We found that @byted/qrcode-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.