simple-qr-node

1.0.13 • Public • Published

Simple QR Node

Simple QR Node is a simple and lightweight server-side QR code generation library that uses JavaScript. It provides flexible configurations, including logo, color.

Installation

npm install simple-qr-node

Load

 const QRCode = require('simple-qr-node');

Usage

 await generateQR({
    text: 'www.google.com',
    color: '#000000',
    background: '#ffffff',
});

Options

Option Required Type Default Infos
text Yes String --- The value encoded in the QR code
color No String #000000 The color of the dots
background No String #ffffff The background color

Package Sidebar

Install

npm i simple-qr-node

Weekly Downloads

3

Version

1.0.13

License

none

Unpacked Size

2.43 kB

Total Files

3

Last publish

Collaborators

  • anthonyconsolarox