/simple-qrbtf

NodeJS / Browser 环境快速生成 SVG 二维码。

Primary LanguageTypeScriptMIT LicenseMIT

简体中文

simple-qrbtf

Most of the code in this project comes from ciaochaos/qrbtf. Compared with ciaochaos/qrbtf, it removes the framework limitation and supports the use of node and browser in environments.

preview

base circle dsj
func image imagefill
line rand-rect solid(2.5D)

install

npm i simple-qrbtf
yarn add simple-qrbtf
pnpm add simple-qrbtf

use

additional parameters can be found in the typescript type definition

es6

import SimpleQr from 'simple-qrbtf';

console.log(SimpleQr.base());

node

const SimpleQr = require('simple-qrbtf');

console.log(SimpleQr.base());