Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qrcode-angular

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qrcode-angular

A Angular component to generate QR codes for rendering to the DOM.

  • 1.0.0-beta.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-71.19%
Maintainers
1
Weekly downloads
 
Created
Source

qrcode-angular

A Angular component to generate QR codes for rendering to the DOM.

Introduction

Support canvas and svg two formats Support adding QR code logo

Installation

##

Usage

import { QrcodeModule } from 'qrcode-angular';

<qrcode value="https://angular.io/"></qrcode>
<qrcode mode='svg' value="https://angular.io/"></qrcode>
<qrcode value="https://angular.io/" icon="imgUrl"></qrcode>
<qrcode value="https://angular.io/" errorLevel="H"></qrcode>

API

proptypedefault valuenote
mode'canvas'|'svg''canvas'output mode
valuestring-scanned link
color{ dark: string, light: string }{ dark: '#000', light: '#fff' }QR code Color
sizenumber160QR code Size
iconstring-QR code include logo url
iconSizenumber40QR code include logo size
errorLevel'L'|'M'|'Q'|'H'HError Code Level

FAQs

Package last updated on 02 Feb 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc