Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "pix-charge", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Library to generate BCB's Pix Payment BR Code", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -8,4 +8,6 @@ # pix-charge | ||
Library to generate BCB's Pix Payment BR Code | ||
![pixLogo](https://cdn-std.droplr.net/files/acc_519625/Ql2F31) | ||
Library to generate BCB's Pix Payment BR Code 💸 | ||
## Install 📦 | ||
@@ -37,2 +39,18 @@ | ||
First, install the `qrcode` lib: | ||
```bash | ||
#NPM | ||
npm i qrcode | ||
#YARN | ||
yarn add qrcode | ||
``` | ||
Then import it into your application: | ||
```js | ||
import QRCode from "qrcode"; | ||
``` | ||
On your HTML, create an Canvas element with an id | ||
@@ -39,0 +57,0 @@ |
14926
139