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

@xkeshi/vue-qrcode

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xkeshi/vue-qrcode

Qrcode component for Vue.js.

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
456
increased by61.7%
Maintainers
1
Weekly downloads
 
Created
Source

vue-qrcode

Qrcode component for Vue.js. It is based on QRious.

  • Website

Table of contents

Main

dist/
├── vue-qrcode.js        (75 KB, UMD)
├── vue-qrcode.min.js    (18 KB, UMD, compressed)
├── vue-qrcode.common.js (75 KB, CommonJS)
└── vue-qrcode.esm.js    (75 KB, ES Module)

Getting started

Install

npm install @xkeshi/vue-qrcode

Usage

  • Browser: window.VueQrcode
  • CommonJS: var VueQrcode = require('@xkeshi/vue-qrcode')
  • ES2015: import VueQrcode from '@xkeshi/vue-qrcode'
Vue.component('qrcode', VueQrcode);
<qrcode value="Hello, World!" :options="{ size: 200 }"></qrcode>

⬆ back to top

Props

value

  • Type: String

The value of the qrcode.

options

  • Type: Object

The options for the qrcode generator. References the QRious's options.

tag

  • Type: String
  • Default: 'canvas'
  • Options: 'canvas' and 'img'

The tag of the component root element.

Browser support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Opera (latest)
  • Edge (latest)
  • Internet Explorer 9+

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT © Xkeshi

⬆ back to top

Keywords

FAQs

Package last updated on 25 Sep 2017

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