1.1.0 ā€¢ Published 7 months ago

@voltary/tickets-qrgen v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Ā 

:dart: About

Tickets QRGen is a module which generates a custom design QR Code, as seen at tick.at

:sparkles: Features

:heavy_check_mark: Just one feature: Generates QR Codes with custom design

:rocket: Technologies

The following tools were used in this project:

:white_check_mark: Requirements

Before starting :checkered_flag:, you need to have Node installed.

:checkered_flag: Starting

Install this module

$ npm i @voltary/tickets-qrgen

Usage

  const generate_qr = require("@voltary/tickets-qrgen");
  const fs = require('fs');
  generate_qr("Hello, you gay boy!").then(response => {
    fs.writeFileSync("qr.png", response["imgNormal"], 'base64');
    fs.writeFileSync("qrframed.png", response["imgFramed"], 'base64');
  });

The response is an array, with two elements: imgNormal and imgFramed.

imgNormal is the QR Code, imgFramed is the QR Code with a frame.

The returned values are in format of base64.

Install dependencies

$ npm i

Run the project

$ node .

The server will initialize in the http://localhost:3000

## :memo: License ##

This project is under license from MIT. For more details, see the [LICENSE](LICENSE.md) file.


Made with :heart: by <a href="https://github.com/Voltary" target="_blank">Voltary</a>

&#xa0;

<a href="#top">Back to top</a>
1.1.0

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago