@qr-platform/qr-code.js
Version:
QRCode.js is a professional JavaScript/TypeScript library for creating customized QR codes, offering a blend of simplicity and sophistication. With versatile styling options—dot shapes, colors, gradients, embedded images, borders, and text—it enables you
44 lines (43 loc) • 1.25 kB
TypeScript
export { ErrorCorrectionLevel, Mode, TypeNumber } from '~/lib/qrcode/QRCodeMinimal.js';
export { QRCodeJs, type ExtensionFunction } from '../core/qr-code-js.js';
export { type RecursivePartial } from '../types/helper.js';
export { type CanvasOptions } from '../utils/canvas-options.js';
export { GradientType, type Gradient } from '../utils/gradient';
export { CornerDotType, CornerSquareType, DotType, ImageMode, ShapeType, type Options } from '../utils/options.js';
export { ErrorCorrectionPercents } from '../utils/qrcode.js';
export declare const codes: {
backgroundOptions: {
round: number;
color: string;
gradient: {
type: string;
colorStops: {
offset: number;
color: string;
}[];
};
};
name: string;
description: string;
data: string;
scale: number;
margin: number;
width: number;
height: number;
shape: string;
dotsOptions: {
type: string;
color: string;
};
cornersSquareOptions: {
type: string;
color: string;
};
cornersDotOptions: {
type: string;
color: string;
};
borderOptions: {
hasBorder: boolean;
};
}[];