Socket
Socket
Sign inDemoInstall

boleto-barcode-svg

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

boleto-barcode-svg

Generate brazilian boleto barcode in SVG


Version published
Maintainers
1
Weekly downloads
87
decreased by-3.33%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 27 May 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc