Socket
Socket
Sign inDemoInstall

qr-svg

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    qr-svg

Lightweight SVG QR code generator in JavaScript


Version published
Maintainers
1
Install size
266 kB
Created

Readme

Source

qr-svg

Lightweight SVG QR code generator in JavaScript, based on @kazuhikoarase's qrcode-generator.

Installation

The qr-svg package is distributed as a module on npm.

yarn add qr-svg
# or
npm install --save qr-svg

Usage

import {QR} from 'qr-svg'

QR('hello') // <svg ...

Developing

You need Make, node.js and yarn installed.

Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.

FAQs

Last updated on 24 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc