nodeqr

NodeJS Module to Create QR Codes

https://github.com/voltrainc/nodeqr

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary

Keywords

module node node-js nodejs npm package qr qrcode qrcode-generator
Last synced: 6 months ago · JSON representation ·

Repository

NodeJS Module to Create QR Codes

Basic Info
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
module node node-js nodejs npm package qr qrcode qrcode-generator
Created over 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Funding License Citation

README.md


NodeQR - NodeJS QR Code-Creation Module

Introduction

NodeQR is a node module for anybody to be able to create programs with the ability to generate QR codes.

Module

To install NodeQR, run this command using npm (Node JS Package Manager): shell npm install nodeqr

Intergration

After installing the module, call on the module using import or require and initialize the class QRCode to create one. Here is an example using HTML and JavaScript:

HTML: ```html <!DOCTYPE html> QRCode Testing

<img id="qrcode-container">

```

JavaScript: ```javascript const nodeqr = require('nodeqr');

function generateQRCode(data, containerId) { var qrcode = new nodeqr.QRCode(0, QRCode.ErrorCorrectLevel.L); qrcode.addData(data); qrcode.make();

var container = document.getElementById(containerId);

var qrCodeElement = qrcode.createImgTag(4, 0);

container.innerHTML = qrCodeElement; }

document.addEventListener("DOMContentLoaded", function () { var dataToEncode = "https://www.example.com"; var containerId = "qrcode-container";

generateQRCode(dataToEncode, containerId); }); ```

Now you can create a QR code by changing the link to the target URL of your choice.

This module is completely free-to-use by anybody to integrate the amazing and magical ability of QR codes to anything


© Copyright Voltra Incorporation. All rights reserved.

Owner

  • Name: Voltra Inc.
  • Login: VoltraInc
  • Kind: user

Creating Innovative Technology to Help Benefit the World!

Citation (CITATION.cff)

cff-version: "1.2.0"
date-released: 2023-09
message: "Install using `npm install nodeqr`"
title: "NodeQR: NodeJS Module to Create QR Codes"
url: "https://github.com/VoltraInc/nodeqr"
authors: 
  - family-names: Waly
    given-names: Selim
preferred-citation:
  type: conference-paper
  authors:
  - family-names: Waly
    given-names: Selim
  booktitle: "NodeQR"
  month: 10
  start: 38
  end: 45
  title: "NodeQR: NodeJS Module to Create QR Codes"
  year: 2023
  publisher: "Voltra Incorporation"
  url: "https://www.voltra.dev/"
  address: "Online"

GitHub Events

Total
Last Year

Dependencies

.github/workflows/npm-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
package-lock.json npm
  • asynckit 0.4.0
  • axios 1.5.1
  • combined-stream 1.0.8
  • delayed-stream 1.0.0
  • follow-redirects 1.15.3
  • form-data 4.0.0
  • gpt4all 1.0.0
  • mime-db 1.52.0
  • mime-types 2.1.35
  • os 0.1.2
  • progress 2.0.3
  • proxy-from-env 1.1.0
package.json npm