boleto-barcode-svg

0.1.0 • Public • Published

Generates a SVG string from a boleto barcode

Features

  • Only 500 bytes (minified and gzipped) bundled with microbundle and Size Limit controls the size.
  • No dependencies
  • Compatible with browser, node and deno
  • Easy to use, only one function with only one param

Install

yarn add boleto-barcode-svg

Usage

import { boletoBarcodeSvg } from "boleto-barcode-svg"
 
const number = "34195.00008 01233.203189 64221.470004 5 84410000002000"
const svg = boletoBarcodeSvg(number)
console.log(svg)

Credits

Based on the awesome work of Guilherme Araújo

Package Sidebar

Install

npm i boleto-barcode-svg

Weekly Downloads

78

Version

0.1.0

License

MIT

Unpacked Size

45.8 kB

Total Files

17

Last publish

Collaborators

  • neves