We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice to have an option to exclude scissors when creating an svg.
The text was updated successfully, but these errors were encountered:
feat: add more options to svg
1362941
#420
Thank you for the issue. I agree, SVG should have the same options available as PDF.
In SwissQRBill v4 this is now possible:
import { writeFileSync } from "node:fs"; import { SwissQRBill } from "swissqrbill/svg"; const data = { amount: 1994.75, creditor: { account: "CH44 3199 9123 0008 8901 2", address: "Musterstrasse", buildingNumber: 7, city: "Musterstadt", country: "CH", name: "SwissQRBill", zip: 1234 }, currency: "CHF", debtor: { address: "Musterstrasse", buildingNumber: 1, city: "Musterstadt", country: "CH", name: "Peter Muster", zip: 1234 }, reference: "21 00000 00003 13947 14300 09017" }; const svg = new SwissQRBill(data, { scissors: false }); writeFileSync("svg-without-scissors.svg", svg.toString());
Sorry, something went wrong.
No branches or pull requests
It would be nice to have an option to exclude scissors when creating an svg.
The text was updated successfully, but these errors were encountered: