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

@akashalib/qrcode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akashalib/qrcode

Helper function to generate QR code link.

  • 0.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@akashalib/qrcode

Helper function to generate QR code link.

Install

npm install @akashalib/qrcode
# OR
yarn add @akashalib/qrcode

Usage

import { generateQrCodeLink } from "@akashalib/qrcode";

console.log(generateQrCodeLink(undefined)); // undefined

console.log(generateQrCodeLink(null)); // undefined

console.log(generateQrCodeLink("")); // undefined

console.log(generateQrCodeLink("something")) // "https://chart.googleapis.com/chart?chs=225x225&chld=L|2&cht=qr&chl=something"

console.log(generateQrCodeLink("https://something.com", /* size */ 400)) // "https://chart.googleapis.com/chart?chs=400x400&chld=L|2&cht=qr&chl=https%3A%2F%2Fsomething.com"

Keywords

FAQs

Package last updated on 11 Mar 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