qr-on-banner
v1.0.3
Published
A versatile library enabling the creation of visually appealing banners incorporating images and QR codes.
Downloads
4
Readme
qr-on-banner
A versatile library enabling the creation of visually appealing banners incorporating images and QR codes.
Description:
This library empowers you to create visually compelling banners that seamlessly integrate images and QR codes. It simplifies the banner creation process, saving you time and effort while enabling you to design engaging and informative banners for various purposes.
Features:
- Image Integration: Incorporate images into your banners to enhance their visual appeal.
- QR Code Generation: Effortlessly generate QR codes within banners, directing users to websites, social media pages, app downloads, or other desired destinations.
- Error Handling: Benefit from robust error handling mechanisms to gracefully manage potential issues during banner creation.
Installation
npm i qr-on-banner
Usage
import { generateQrOnBanner } from 'qr-on-banner';
generateQrOnBanner({
stringToCreateQR: 'qr code',
bannerImg: 'image url',
bannerText: 'banner text',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
});