@pix-qrcode/lib
v1.0.4
Published
A library to create a pix (Brasilian money transfer system) qr-code
Downloads
1
Readme
@pix-qrcode/lib
createPixCode()
args: key
, amount
, name
, key_time
, city
key
: string key for pix transactionamount
: number in BRL for transfer amountname
: string of the name of the beneficiarykey_type
: string of one of the 'telefone' | 'cnpj' | 'cpf' | 'email'
typescity
: string of the city of the transfer
createQrCode()
args: data
, size
: { width, height }
data
: string of any data, best used with createPixCode()
size
: object with { width, height }