@chonla/fastify-qrcode

1.0.3 • Public • Published

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)
})

License

MIT

Package Sidebar

Install

npm i @chonla/fastify-qrcode

Weekly Downloads

12

Version

1.0.3

License

MIT

Unpacked Size

5.01 kB

Total Files

5

Last publish

Collaborators

  • chonla