Skip to content

neves/boleto-barcode-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generates a SVG string from a boleto barcode

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

About

Generates a SVG string from a boleto barcode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published