A simple generator of QR codes with Wapuu logo in the centre made in JS.
- Node JS
- Clone the repository
- Type
npm install
- Run the script
npm run generate
This will generate a QR code in the output/
folder.
Once you add your png of the image in the logo folder, you'll need to change it in the index.js
as well:
// Return a buffer with the PNG of the code
async function run() {
const logoPath = path.resolve(__dirname, './logo/wapuu-qr.png'); // Add logo here.
You can modify the url where you want your QA to point to, by changing it in the index.js
// Return a buffer with the PNG of the code
async function run() {
// ...
const url = ''; // Add your URL here.