simple-qrbtf
v1.5.0
Published
this is simple create a svg qrcode library
Downloads
16
Maintainers
Readme
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());