@chonla/fastify-qrcode
v1.0.3
Published
QR Code generator plugin for fastify.
Downloads
106
Readme
fastify-qrcode
Fastify QR Code plugin utilizes qrcode npm package written by Ryan Day and contributors to generate QR Code.
Usage
const fastify = require('fastify')()
fastify.register(require('@chonla/fastify-qrcode'))
// Generate qrcode
fastify.qrcode.toDataURL('test', (error, url) => {
console.log(url)
})