Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sepa-qr

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sepa-qr

Generate QR codes for SEPA payments

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-18.18%
Maintainers
1
Weekly downloads
 
Created
Source

sepa-qr-js

Generates SEPA QR codes based on the European Payments Council's standard. These QR codes are scannable by many mobile banking apps.

Uses qr-image and forwards options for lower level QR manipulation.

The goal is to get this on par with sepa-qr-php, which should be quite feature-complete and tested (PRs appreciated).

Installation

npm install sepa-qr

Usage

const createSepaQr = require('sepa-qr');
const {createWriteStream} = require('fs');

createSepaQr({
  name: 'Name of the beneficiary',
  iban: 'BE123456789123456789',
  amount: 100, // in Euro
  remittance: 'Invoice 123456789'
}).pipe(createWriteStream('sepa.png'));

Options

The options below relate to the SEPA standard. All other options are forwarded to qr-image (except for ec_level which is always M).

serviceTag (default: 'BCD')
version (default: '002')
characterSet (default: createSepaQr.UTF_8)
identification (default: 'SCT')
bic (default: '')
name (default: '')
iban
amount (default: 0.01)
purpose (default: '')
remittance (default: '')
information (default: '')

Keywords

FAQs

Package last updated on 01 Jan 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc