// the find
joseviniciusnunes/qrcode-pix
QR Code generator for the Brazilian payment system PIX
TypeScript library that generates PIX QR codes conforming to the Brazilian Central Bank spec. Works in both Node.js and the browser. Niche but useful if you're building any payment flow for the Brazilian market.
Covers the actual BACEN spec (v3.0.2) and links to the official PDF — not a guesswork implementation. Works client-side too, which saves a round-trip for UI-heavy fintech apps. API surface is tiny and obvious: one function in, two outputs (payload string and base64 image). Has a CI-gated test suite, which matters a lot for payment code.
Last commit was May 2024 and the spec link points to a 2022 revision — if BACEN updates the standard, you're on your own. The entire library is a single source file (src/index.ts), so there's no room for edge cases like split transactions or dynamic PIX (QR codes with expiry). No support for Pix Copia e Cola validation or parsing incoming payloads — it's strictly a generator. Also ships a pre-built lib/ directory directly in the repo, which is a code hygiene smell.