
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
sepa-payment-qr-code
Advanced tools
Generate a QR code to initiate a SEPA credit transfer a.k.a. bank transfer.
npm install sepa-payment-qr-code
// generate-qr-code.js
const generateQrCode = require('sepa-payment-qr-code')
const qr = generateQrCode({
name: 'Red Cross of Belgium',
iban: 'BE72000000001616',
amount: 123.45,
unstructuredReference: 'Urgency fund',
information: 'Sample QR code'
})
process.stdout.write(qr)
node generate-qr-code.js | qrencode -t ansiutf8 -l M
# prints QR code to the terminal
This library only generates the text input to be QR-encoded. Use the library of your choice to render the QR code to PNG/SVG/React/etc.
Note the following limitations posed by European Payments Council's (EPC) Quick Response Code: Guidelines to Enable Data Capture for The Initiation of a Sepa Credit Transfer document:
2 2D Code Guidelines Definition:
- QR code error level
M
(15% of code words can be restored)- Maximum QR code version
13
, equivalent to module size69
or 331 byte payload- Character sets:
- UTF-8
- ISO 8859-1
- ISO 8859-2
- ISO 8859-4
- ISO 8859-5
- ISO 8859-7
- ISO 8859-10
- ISO 8859-15
Also note that EPC QR codes are always in euros (EUR
).
If you have a question or need support using sepa-payment-qr-code
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.
FAQs
Generate a QR code to initiate a SEPA bank transfer.
The npm package sepa-payment-qr-code receives a total of 327 weekly downloads. As such, sepa-payment-qr-code popularity was classified as not popular.
We found that sepa-payment-qr-code demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.